People do not love you with all your faults. That kind of thing, only happens in the movies.
Never open up to someone, except your parents. They’ll respect you, love you, support you, keep your secrets and never throw them on your face.
But, never trust someone else with yourself. Save yourself.
Even if you have made the mistake of showing other people your weakness or have trusted them blindly with yourself, take it back. Shut every wall that leads to them knowing you or having any right over you. Never trust anyone with yourself.
Close and shut down.