Cephalexin can be taken under dental precription in proper dosages and proper duration which will be decided by dentist after seeing the extent of swelling and infection. You should not do self medication as in absence of proper dosages and duration, sometimes the complications can develop which can be systomic or topical. It is better to schedule an appointment with your dentist and get yourself examined. For pain you can take pain killer med available otc.
Free Dental Consultation