Before you pray, is your heart right with God. James 5:16 The effective, fervent prayer of a righteous man avails much. When the Israelites complained, God heard them but it took Moses’s prayer to stop the fire. Hezekiah did everything that pleased God, but he acknowledged Isaiah authority and asked Him to pray to God when they were faced with opposition. 2 Kings 18:3 And he did what was right in the sight of the LORD, according to all that his father David had done.
God used Aaron to perform miracles before Pharaoh but when it was time to cross the see, He gave instruction to Moses to stretch his hand over the sea. Exodus 14:16 But lift up your rod, and stretch out your hand over the sea and divide it. And the children of Israel shall go on dry ground through the midst of the sea.
Acknowledge that there are issues that are above your spiritual level. When the people of Moab wanted to attack Jehoshaphat he fasted and went to God for guidance but the answer was given to Jahaziel. 2 Chronicles 20:14-15 Then the Spirit of the LORD came upon Jahaziel the son of Zechariah, the son of Benaiah, the son of Jeiel, the son of Mattaniah, a Levite of the sons of Asaph, in the midst of the assembly. And he said, “Listen, all you of Judah and you inhabitants of Jerusalem, and you, King Jehoshaphat! Thus says the LORD to you: ‘Do not be afraid nor dismayed because of this great multitude, for the battle is not yours, but God’s.