I am so sorry you are feeling this way. I am quite sure you are not ugly, whatever that word even means.
Have you ever read about body dysmorphic disorder, by chance? If not, I'd advise that you do so and see if you honestly, in your heart of hearts, think you might could have it. If so, then some medications may help.
Sending you support and peace.