How can you make sure you don't get drug addiction?

Know yourself. Remember - drugs are not addictive, personalities are. Therefore, if you can know whether and to what degree a person's personality is addictive, this can alert you to have them avoid drugs associated with addiction, e.g. Opiates, alcohol, tobacco.