Even though the Bible tells us not to worry when problems come, we do anyway. And yet, only a few of us, if any at all have experienced the plethora of issues the apostle, Paul endured without worrying. Despite his more than fair share of problems-threats on his life, beatings and imprisonments, he writes the following.
Be anxious about nothing, but in everything by prayer and supplication with thanksgiving, let your requests be made known unto God.
And the peace of God, which passeth all understanding, shall keep your hearts and minds through Christ Jesus.Philippians 4:6-7 KJV. Bible Gateway
Essentially, Paul is saying if your problem cause you to worry, it means you do not have a solution. Hence it is time to take it to Jesus in prayer.