How do I know a guy likes me or how can I at least be friends with guys?

I never feel comfortable around guys and I have low self esteem so I don't ever try to talk to them, but they don't take interest in me either. I feel like I'll be made fun of or rejected if I talk to a boy, but I think I'd be a really good girlfriend or even friend to a guy. I'm not ugly but I don't think I'm pretty either, and boys at least used to pay attention to me when I was skinnier, but I gained a little weight from depression and now I'm more insecure so if anyone has any answers on how to stop needing validation or any tips on talking to guys please help!
How do I know a guy likes me or how can I at least be friends with guys?
Post Opinion