If your migraine medication is not working anymore, a doctor will normally prefer to switch you to a different medication. They need to make sure that there isn't something else causing the pain, such as a tumor.
Always be sensitive to what you are eating and drinking. Eliminate all caffeine and alcohol. As well, engage in some mild exercise like walking or stretching. You should also set aside 2-3 times a day of quiet time where you can close your eyes and block all sound and light.