Take it as a challenge. Fight if for the sake of Allah's love instead of giving up and question all the consequences and be all sorrow. Think of it as if we are on a stage, an audition on who can get to the next round. The judge are in the front seat, observing on how well we can do. We would want to do the best of the best to get to the next round, am I right? Well in our case, He's watching us, judging us, knows everything inside our hearts and minds, but the difference is just that we can't see this Judge.
Trials and tribulations is part of this life. I mean, how can we prove our faith and love to Allah if not from going through these stages of problems. One might even be in a worry if one is living in a life with no trials and tribulations, questioning if one was in a state of abandonment from Allah's guidance.
Be sure we shall test you with something of fear and hunger, some loss in goods or lives or the fruits (of your toil), but give glad tidings to those who patiently persevere (Al-Baqarah, 155)
The most important part is how are we going to be aware when being tested. Allah's tests comes in many ways, many techniques, many methodologies, many paths, many things. The most trials that people always, always complaining about are the ones when they are in a state of poorness, or scarcity or anything of one's shortage. It can be anything; short of money, short of love, short of friends, short of companions. However, it is easy for people in this state to be aware of their own state to come back to Allah because, well, once we lose something, we would start to appreciate things better, and then we pray to Allah for our ignorance. After all, human is insan anyway, that is, we are ignorant and just forget things.
On the other hand, it is also a test from Allah when we are in a state of wealth or rich or too abundant of something. That can be money, love and many more that can fill in our physical or emotional state towards goodness. People often mistakenly believe that pleasure is peace only and only that. Pleasure comes with tests and trials. Wealth could make one's ego to rise, or in other words, arrogance. Or, it could make people be in a state of ignorance where life is all about money and there's no investment of the Akhirat. The bottom line is; to be rich or to be poor, to be happy or to be sad, life's too good or too bad, both are still trials and tribulations of Allah.
The point is, be aware of Allah's test, and just like school exams, work hard and work smart for the sake of Allah. Certainly, if one's effort is ikhlas, Allah will award with success here and the afterlife InsyaAllah.
For truly with hardship comes ease; truly with hardship comes ease. So when you have finished, work on, and make your Lord your goal! (Al-Inshirah, 5-8)