Dear friend.
Thanks for sharing your concern.
Your history suggests that either you have deep
dental caries or pocket in the lower jaw.
It can also be due to erupting third molar.please mention your age.
As your taking antibiotic and analgesics,your pain and infection subsides but reoccurres ,as it requires clinical examination and proper treatment.
In my view get yourself examined for the exact cause,with a diagnostic
x ray.
Further you can continue with your medication,but please remember only three days is recommended for antibiotics.
Meanwhile keep the area clean by maintaining very good
oral hygiene,especially after food,through rinsing is advised.
Do warm saline rinses frequently.
Hope this helps.
For further query please let me know.
Thanks.
Take care.