Throwing up can be a withdrawal symptom. It can also mean that someone has taken too much heroin that it has caused them to become ill.