If you're sick of dealing with migraines you need to develop a plan to prevent them. The steps to getting and staying as migraine-free as possible are:
See your doctor for evaluation and treatment.
Identify triggers and avoid them.
Find medications that work and use them properly.
Find a type of exercise that doesn't cause migraines for you and do it regularly.