ALL of us have done things in our lives we are not proud of. Maybe we continue to do much of that "stuff" and then go to bed each night (or wake up in the morning) discouraged and depressed. How can anyone possibly love us? Maybe some people in our lives say they no longer love us. Maybe we don't even love oursleves any longer.
How do we recover from ALL this? Well, the first thing to remember is you are NOT alone. You are "truly" never alone. I'm not saying there won't be times when it'll feel like that, but you aren't. Deuteronomy 31:6, "Be strong and courageous. Do not be afraid or terrified because of them, for the LORD your God goes with you; he will never leave you nor forsake you.” The bottom line is God loves you. God will never foresake you nor leave you. "Other" people in your life may decide they don't love you any longer, and perhaps even leave you (in spite of your efforts), but God will NEVER be one of those people. There is nothing you have ever done in your past to "change" God's mind for His love for you. There is nothing you are CURRENTLY doing to change God's mind for His love for you.
Make God THE priority in your life, starting "today", if you haven't yet. You can try to do everything else under the sun to "improve" yourself or "fix" what is broken, BUT if you haven't made God your priority in your life, all these other "fixes" will inevitably fail.
"Seek the Kingdom of God above all else, and live righteously, and he will give you everything you need." Matthew 6:33