What Are Things People Leaving Rehab for Drug Addiction Can Do to Stay Clean?

I just found out that someone I know is in rehab for using a variety of substances. He has one more month to go and I was wondering what are things to try to put in place to help him stay clean.