Identify triggers. The first step is to identify what triggers them. If they are triggered, it's important to treat quickly before it intensifies too much.
No cure but. Migraine is a life long condition. For a great number of people they live with the risk of migraine headaches. The only thing to do is learn to manage these events to reduce the risk of them occurring and to reduce the severity once they occur. Develop a good management plan. Work with your doctor to have appropriate medications available when the first signs develop.