Unless your mouth pain is trauma related, then probably not. Most ERs and urgent cares do not have a dentist on staff, or on call. Therefore the most they will be able to do is prescribe antibiotics. If you have been suffering from a toothache with swelling for a long period of time, these antibiotics could be essential. However in most cases, you will be charged for the visit, and referred to a dentist.