Well in general you learn from these stupid actions. Panic becomes part of your experiences and though you never can entirely remove panicking as it's normal for everyone to do so, you'll be able to handle panic a lot better the next time it happens.
I used to panic from everything in the past.. I was good at trading but i couldnt control my emotions so many times, and that made me loss a good amount of money or maybe possibilities to grow my balance. But for sure that i have learned for all of those experiencies and right now i dont panic anymore, i only use the inteligence and the knowledge and i know that altcoin market all are the same, the price goes to the floor, and then to the sky again, and this is a cycle.