Summarize:

Talk to your doctor about taking NSAIDs to help you deal with pain as you recover. Non-steroidal anti-inflammatory drugs (NSAIDs) work to reduce swelling and relieve the pain caused by your ankle injury. Common over-the-counter NSAIDs include ibuprofen (Advil or Motrin) or naproxen (Naprosyn). Talk to your doctor before using NSAIDs if you have heart problems, a history of stomach ulcers, high blood pressure, kidney damage, or diabetes. Celecoxib (Celebrex®) works well to reduce inflammation caused by an ankle injury. This is because it controls the production of prostaglandins, which cause inflammation. You will need a prescription from your doctor for this medication. You should take celecoxib after a meal, because taking it on an empty stomach could lead to a stomachache. Piroxicam works by stopping prostaglandin formation. It has a sublingual form that melts under the tongue and goes directly to the blood so that it reduces swelling quickly. Surgical therapy is rarely done for ankle sprains. It is only done in severe ankle sprains that do not respond to months of rehabilitation and medical therapy. If your ankle sprain is severe and has not improved after a long period of rehabilitation, ask your doctor if this may be a good option for you.
Take NSAIDs with your doctor’s approval. Ask your doctor about celecoxib. Discuss piroxicam with your doctor. Talk to your doctor about surgery as a last resort.