taking tablets without consulting doctor is not good,
as you are having swelling also better to use antibiotics along with analgesics and anti-inflammatory drugs,
so better get examined with your doctor and then take tablets accordingly,
meanwhile if you are having pain you can analgesics like paracetamol
if the swelling or pain is increasing better to consult your doctor as early as possible.