Heroin addicts who are interested in getting clean have a variety of different options open to them. They can choose to go to a hospital to get clean; at a hospital, the doctors will help with the most difficult aspects of withdrawal and coming off the drugs. Another excellent option is a heroin addiction treatment center or heroin rehab center. These places will offer therapy as well as help with withdrawal symptoms. Any legitimate heroin rehab center should always have a doctor on staff, however, because the physical symptoms of withdrawal can be deadly if handled improperly.
Sources:
https://heroin.net/information-heroin-addiction/understand-dependency/
http://www.cfdp.ca/rcmp99.pdf