Psalm 90:1-2: "1 LORD, thou hast been our dwelling place in all generations. Before the mountains were brought forth, or ever thou hadst formed the earth and the world, even from everlasting to everlasting, thou art God."
Whenever you have trouble, go to God for help and guidance.
He always was, is, and will be. He knows everything that will ever happen, and nothing takes Him by surprise.