The Prophet Muhammad, peace be upon him, says that, Allah says, I will treat everyone the way they perceive Me. So perceive Allah in a good way.
Think of Allah and remember His mercy, Hs goodness, His kindness.
Not everything that happens around you is actually a punishment, even though it’s negative.
But if it drew you a little bit closer to Allah, wallahi, it was a blessing for all of us who remained behind.
If there is someone you’re not talking to and they’re related to you, first degree relation, go and make peace.
If there is someone that you’ve wronged, apologize.