Nimesulide can be taken for a headache only when prescribed by your doctor in limited dosage. As it has a proven history of treating mild migraines, Nimesulide works best and is effective when taken for headaches as prescribed. If you have recurring headaches, this drug is not advised for long-term use, and you should consult your doctor.