There are numerous over-the-counter pain relievers out there to help you manage your nerve pain, ranging from topical painkillers, which include anaesthetic properties to numb the area of pain.
This is a good option as it effectively targets the direct spot that requires treatment.
You may wish to use over-the-counter painkillers like aspirin or ibuprofen, but they probably won’t be effective for severe nerve pain - if you think you need stronger painkillers, speak to your doctor.