When you’re going through a tough time remember to tell God about it, pray about all your worries. James tells us to ask God for wisdom because He wants to give it to us generously. After you have finished praying, try not to overthink stuff and worry too much about it after you have prayed about it. You could also do something that you enjoy doing; I find this helps take my mind off things.
Know that you can talk to God about it all – the good and the bad; not only when you are going through something difficult.