If you cannot control your fear then you will not do anything right, fear will keep you from being alert enough to make informed decisions. Things are not as simple as we think, once we fall into that situation, we will lose our reason.
The best way is when investing always have a plan for everything from the beginning and when starting to panic because of the volatile market is when we need to review what our original plan and goals were, only then can we calm down and control our emotions. Panic is a part of us, we can't get rid of it, we can only control it.
I agree that we can't completely remove panic from ourselves but we can maintain it so we won't doing any stupid decisions when something bad happens. Many people panic due to their losses in this bear market so they easily get scammed and FOMO from other people. Always use the money that we can afford so we won't panic when the bear market continues and we can invest more when the price is becoming more lower.