hi there, what you have described suggests that you have an anal fistula
resulting from an abscess
. These are not self limiting condition and you will need to visit a surgeon as soon as possible to get it removed. Sitz bath in antiseptic water may keep it under control but surgery is the definitive treatment. Take care.