In your teeth?
Ulcerations occur in soft tissue (like the gums, lips, throat etc) not on teeth.
Maybe you're looking at a large cavity
which would be a hole in your tooth. Whatever your problem, you should see a dentist for a thorough evaluation and treatment specific for your problem.