Problem with my anus

It suddenly appeared the day before yesterday. It hurts. I have been using an ointment since yesterday (active ingredients: Tribenosidum, Lidocaini hydrochloridum monohydricum). I’ve been shaving there regularly for many years, so I don’t think that’s what caused the issue.

What is this? Are these haemorrhoids? Should I go to the doctor immediately or is it worth treating it with home remedies and waiting for 3 days to see if it improves?

Thank you in advance for your answer!!

image