When in doubt always focus on the basics & the fundamentals:
1. Keep sufficient cash in portfolio.
2. Keep generating sufficient cash either by booking profits or from your vocation.
3. Buy the quality businesses on dips.
4. Avoid panic selling because when you panic sell you sell cheap.
5. Avoid leverage.
6. Avoid excessive trading or trading itself.
7. Be equanimous & have a control on emotions. Meditation and mindfulness helps.
Once your foundations are strong, you’d be able to withstand any kind of shocks and setbacks.
Wishing you a profitable investing journey ahead!