If you are meditating and a headache, or some sort of painful feeling in the head, starts to arise, yes, it’s probably because you are trying too hard.
Remember, meditating and letting go of hindrances is not supposed to be a fight.
Follow this link for lots of help.