It is hard to stop using heroin and he needs professional help to succeed. There are medicines which may help, he also needs to stay at a rehabilitation clinic. First step is to see a psychiatrist with experience in the treatment of heroin addiction.
Read more about the treatment of heroin addiction.