Depending on how bad your eating disorder was your body may well never fully recover &may have more long term serious affects than you realize. This mixed with the concoction of drugs (medical, illegal & alcohol) that you took in a few days - what a recipe for disaster!! Which is what you have.
1) see your dr & be totally honest (i think you have a drug abuse/alcohol abuse combination problem & I worked with people in this sort of area so have some knowledge not just opinion) & I think you need to detox!!
2) detox by at the very least reducing your alcohol intake to 1 to 3 non-mixed drinks once a week. Do not drink when you have used any medication & that may mean no drinkling if you have to have the medication regularly. No illegal drugs, not just because they're illegal but because the affect of them with alcohol & so on is unknown & different for everyone!!
3) go & see (or write to) your friends, apologize & tell them what steps you are taking to overcome your problem so that you never behave like this again.
4) take this as the warning it was; stop: think" get advice: act on that advice: heal yourself or face the consequences; which could be jail, death or living on the streets.
Good luck but take action don't just think about it.