There are two types of medications used for the treatment of migraine;
1) To abort the attack
2) To prevent the headache
Valproic acid, gabapentin
Calcium channel blockers
Beta-blockers, tricyclic antidepressants
There are dietary triggers known which should be avoided. Common triggers are
b) aged cheeses and meats,
c) wine and beer
d) citrus fruits.
Please feel free for your follow up questions.
I would be happy to assist you further, if you need any more information.