Before the problem comes we should pray to God as often as possible
Prayer is the weapon of Muslims, so if we confess that we are Muslims and believers, we should always make bridge prayers to be close to God, the way that we can talk a lot about this life to Him.
Do not let us pray to Him only when we are afflicted with problems, because if we are like that then we really have become human beings with problems.
The problem is that without knowing we have lost because we never know the pleasure of making love with God in a prayer, even though making love and telling stories in prayer is the best way for us to always be in His goodness.
Because prayer is a bridge we speak to God, it always teaches the heart to always soften and speak in prayer every time to God.
Because prayer is actually done not because we need it, but as a way for us to always realize that without God we are nobody.
The point is, don't be foolish by just looking for God when the problem comes, but make sure in good condition we are good at finding Him. Because when we are good at remembering Allah in good times through the prayers we pray, then God willing when we are in trouble without God asking us to remember us.
So if you want the life we have to live away from problems, don't just need to God when there are problems. Because in the field we always need to God, even if we are in a very big problem, of course we will always be fine with His kindness.
Before the problem comes we should pray to God as often as possible to ask for patience and sincerity. So that when something we don't want happens suddenly, the heart stays calm and believes that this is the way God loves us.
Come to God no matter there is a problem or not is the best way to surrender themselves in order to remain in his goodness.
That is, praying to God doesn't matter anymore in the matter or vice versa, so that whenever our hearts always feel good with His love, and our hearts always refer to Him.