Cocaine is usually situational. This means in order to quit cocaine, you may have to change your lifestyle. For example, if you have a group to friends who like to get high on cocaine, don't hang around them. Drinking also lowers your resolve. If you get drunk enough, buying some cocaine suddenly seems like a good idea.