Topamax or topiramate is a seizure medication, which is also used to prevent
migraine headaches in adults. However, it will only prevent
migraine headaches or reduce the number of attacks and will not treat a headache that has already begun. Celebrex or celecoxib, on the other hand, is used to treat pain or inflammation including headaches. Medication effect usually varies from one person to another. What is effective to one may not be as effective to another.