Meltdowns happen. Try and take note of any tell-tale signs that you're getting close to one in the future. That way, if you wanted to, you could either isolate yourself or give those around you fair warning. (If you've done anything involving self-harm, isolation may not be the best choice.)
Drinking when you're close to a meltdown is also a very bad idea. Just makes it worse, and more likely.