I have been told I'm ugly all my life
Anyone who frequently calls someone ugly is ugly inside and that's FAR worse than any outward appearance. I would urge you to find people who will embrace you without feeding this negativity into your life if possible.
Sadly the reality is though that some people will always judge and some will comment no matter what you do. It is a sad fact that a lot of people are basically assholes when it comes to this stuff. Women are often other women's harshest critics and I HATE it. We have enough shit to deal with without us all giving each other grief over our fashion sense and appearance ffs but that's another rant.
If you don't do anything someone will probably be thinking "look at her, she's made no effort, the least she could do is put on a bit of makeup." if you do make an effort someone else will probably be thinking "look at her all dressed up who does she think she is?"
Whatever you do there will always be people who judge. You can't change that so you need to look at this from an entirely selfish point of view and ask yourself this:
Does it make me feel good to wear makeup?
Do I feel more beautiful if I dress up nicely?
Would I feel special if I treated myself to a decent hair cut/colour?
You are the person who is important here. If "making an effort" as you call it makes you feel good (or at least better if your self esteem is very low, which it sounds like it is) then fuck what anyone else thinks. If you don't want to faff with makeup and fashion then go for it, that's ok as well. The key here is that dressing up/wearing make up/dying your hair etc should be things that you do FOR YOU, not anybody else.
So do whatever you like and hit up google for a million tips on improving your self confidence and self esteem. You ARE good enough and I hope you can realise that.