I drank coffee 2 years ago and became an a-hole because of stress, and just wasn't myself.... how do I get over these 2 years?

i missed a lot of opportunities... with some girls that i daily regret being an ass too... I wasn't myself