How to get sober and stay sober?

I can go months without drinking, but once I drink, I can't stop until I get drunk. I don't even like alcohol, but I used to like how it made me feel. Recently, I started having really bad hangovers (vomiting, anxiety, depression). And even when I drink, I feel instantly nauseous and I don't even feel that joy/ecstasy when I'm tipsy anymore, I just feel low. Despite all these negatives, I find myself craving alcohol, after a couple months of not drinking. And after each hangover, I vow to never drink again, but I always break that vow. I'm in this terrible cycle, and I don't know how to get out of it. Any tips how to get sober, and most importantly, how to stay sober?
How to get sober and stay sober?
Post Opinion