Hello, wisdom tooth eruption depends on the position of the tooth in the jaw, if its not straight and has no space for its eruption, it causes severe pain which even might radiate to head, so you need to visit a dentist get an x-ray done and get the treatment done accordingly. For pain relief yes you can take pain killers, but it will give only temporary relief.
Next Steps
visit a dentist
Health Tips
lukewarm salt water gargling 2-3 times a day, will also give you some relief.