Its always better to start any medication after a proper clinical and radiographic examination by the dentist.
Till you visit a dentist, you can take a S.O.S. painkiller ( T.Ketoford DT) one tablet.
Next Steps
Kindly visit a nearby dentist and get an examination done
Health Tips
self medication is harmful, kindly get a prescription from a registered dentist. :)