What are the causes of Headache?

What are the causes of Headache?
I am curious to know about All kinds of Headache. We get pain in our body when we get hurt. But All kinds of Headache just turn up. What causes this pain? I know there are a lot like loud noise, lack of sleep etc. But why head aches for all that and not heart?

And does sex really helps in curing All kinds of Headache? How is it related?

Best answer:

Answer by BitburgerPilsMan
Regular All kinds of Headache are caused by too much blood in the head. I suppose sex would, at least for the male population, since there would be a need for blood at the other head.