For swelling that's painful, a doctor may prescribe a pain reliever or over-the-counter anti-inflammatory medication, such as ibuprofen (Advil) or naproxen sodium (Aleve).continue