please first tell your mother not to take medication on counter. its dangerous.
will u take self medication for any other problem in the body, like for eye, ear, nose etc.. tooth is part of the body, and the toothache can be result of just caries or apical periodontitis, or apical abcess or anything else..
you must visit dentist first. let the dentist carryout the diagnostic procedures to find out the cause and initiate treatment.
Next Steps
visit near by dentist, undergo diagnostic steps including x ray