Hello,
Seems like a case of fistula in ano.
Ultimately you will need to visit a surgeon for the fistula, it could range anything from simply laying open the tract to complete removal or laser therapy, although for your case complete removal of tract should be the ideal procedure.
Next Steps
Dietary modification: avoid spicy oily foods, increase water intake, increase fibre content in food
Take sitz bath 2-3 times a day with
Take antibiotics like Tb cefixime 200mg twice a day for 7 days
Tb pantop 40 mg before breakfast