Firstly I would strictly warn you for self medication
Secondly.... Any painkiller any home remedy is all temporary.
If you really want to get rid of pain..... Visit a dentist.... Find the cause and get the appropriate treatment done.
Far is not an excuse.... Your health should be your first priority of concern.
Next Steps
visit dentist as soon as possible
Health Tips
use ice packs for temporary pain relief.
Luke warm salt water gaurgle will help
donot delay the treatment