Depending on where you live, anywhere between nothing (if you have stuff for personal use and live in an enlightened society) and a life sentence (in a society with a strict regime); if you cannot...
The legal consequences of using ecstasy in Canada is sever death. You use Ecstasy, and you get put in jail, which is an igloo, and then you get your head chopped off by an axe made from Walrus tusk....