Since you have frequent headaches, you should be on preventive medications (which reduce the severity and frequency of headaches). The best drugs in this category are flunarizine, divalproex, topiramate, etc.