With piriformis syndrome, it helps to take a break from activities that cause pain. NSAID medicines also may ease pain. These include ibuprofen (Advil, Motrin IB, others) or naproxen sodium (Aleve). Ask a health care professional about stretches that can help. Sometimes, a steroid shot is given for pain relief. Rarely, surgery is done.