Over-the-counter pain relievers can provide relief, such as non-steroidal anti-inflammatory drugs like ibuprofen (Aleve), naproxen (Advil and Motrin), or acetaminophen (Tylenol). A brief burst of oral steroid is sometimes considered to reduce pain and inflammation. Gabapentin or pregabalin are medications that are sometimes prescribed to treat nerve pain.