You cannot cure migraine but you can help the pain by taking pain killers. If you have one migraine, you are likely to get more.
There are abortive pain killers to take at the time, but if you take them more than 2 times a week, you risk getting rebound headaches. Instead if you do need pain pills more often, then you should get a prescription for a daily preventative migraine pill. And if you've tried a bunch of those that don't work, there are many other treatments. You can try icing and relaxing or you'll need to go to a doctor.