I have friends who got help via Narcotics Anonymous and by going to their local community hospital. There are ways to detox under supervision... and there are ways to find help.
Many (most?) of the people at an NA meeting have been where you are. They would be a wealth of good information. Those meetings, much like what we do here, are a place where people share their own experience, strength and hope