The only medications you should take when withdrawing from ecstasy are those prescribed by a doctor, psychiatrist, or medical professional.