Thank youI believe this is the issue.
https://en.wikivet.net/Vent_Prolapse_-_Fish
Personally I would leave it alone for now, at the most I would try adding epsom salt (magnesium sulfate) to the tank water to help reduce any swelling or inflammation of tissue around the vent. Good luck.