Again, Elijah did not actually pray that it would rain. He simply prophesied that it would rain. 1Ki 18:1,41,42,43,44,45
So, we need to understand that you don^t wait till the challenge arises to pray. Rather you pray and prepare yourself so that when the challenge arise you are able to handle it by the authority and power of the Holy SpiritOfChrist Jesus.