Mouth Pain

Patient: I have been feeling pain on the top and bottom left side of my mouth for about a month and half now. I think it was cause by my dentist when she gave me the shot and she might have damaged the nerve. I went to another doctor and he prescribed Ibuprofen 800 mg to calm the swelling and subside the pain. I was off those meds for about 3 weeks, until last night when I got that pain back. I want to know what is wrong with me and how do I get rid of this pain, it’s interfering with my sleep.