Ulcer on foreskin

Hi.

I have an ulcer right on the top of my foreskin (the tip of the foreskin) and I don't know where it's come from or what to do about it? Should I visit the doctors?

In your position, if it's only just appeared, I'd wait a week to see if it resolves itself, but if it gets more painful or changes for the worse, you may need some kind of prescription cream to help it heal.