Thanks for posting your query.
From the description,its clear that the extraction socket has not healed properly.
Gooey substance is the discharge of abscess
through the socket.
I would suggest you to gargle frequently using warm saline.
rinse can also be done.
Dressing using ZOE/IODOFORM GAUZE has to be done.
Complete course of antibiotics has to be taken.
Also get your blood-sugar level checked to monitor diabetes mellitus
Please do visit your dentist
to check whether any root piece or bone projection occurs at the extraction socket and get it removed.
Hope this helps.