I'm having a hard time dating

So i never had a boyfriend and I'm still a virgin and I'm 25. I have a hard opening to people and I always felt ugly due to my weight. I always been the fat ugly friend. Now I really would like a relationship and settle down. Should I be upfront about it? I don't know I feel I would be judge for it.