From the details provided,its clear that the extraction socket has not healed well and results in formation of dry socket
I would advice you to gargle frequently with warm saline.
Maintain oral hygiene
Rinse mouth after every meals to avoid food lodgement.
Take complete course of medicine prescribed.