stop crying and feeling down on yourself. This may sound like me being a ****, but honestly, how is complaining about it going to make it better? You're asking a community that has by far proven to be highly immature and highly unsocially accepted for advice?
You want friends? Make them. You lack confidence? Get some. All of this is in your mind, people can give you advice and tips but the only time it will ever change is when you look in the mirror, accept that not everyone is going to like you and walk out your front door with a smile on your face and welcome those that do. I swear, I don't know how people can feel lonely in this time of humanity. Ffs go find someone else that feels lonely and make them happy as well.
You only live once, don't live feeling self loathing