I have never had any luck with OTC meds, they actually tend to give me "rebound headaches" If you are speaking of prescription meds there are a few different options.
Do you have a doctor that you have seen about your head pains?
(I hate to shoot out more prescription info without knowing a little more)
Let me know! I would be glad to give suggestions!