how do I get out again?
You get out again by wanting out, by doing whatever it takes to keep from using. Have you asked a doctor for help getting off opiates? Have you thought about going to NA meetings for help and support? How badly do you want to be clean?? When you want to be clean more than you want to use, then you'll be able to get and stay clean.
I wish you the best.