How to overcome a bad situation
Learn from it.
There's always something to be learned from everye xperience you go through, good or bad.
Take some time to reflect on the situation, how you reacted, and what you can do if you ever go through it again.
Collecting all this knowledge could even help you avoid the situation in the future or assist a friend who is going through something similar.
learn from 向…学习，从…获得[吸取]； 效法
Be humble enough to learn from your mistakes.