The Old Testament prophet Daniel knew how to pray. As he prayed, he fasted, confessed his sins, and pleaded that God would reveal His will. He prayed with complete surrender to God and with complete openness to what God was saying to him.
This is how we must pray as well!
When we pray, we must first examine our intent. Are we really seeking God's will and His perspective --- or are we simply giving Him our will and our perspective? When we pray, we must talk to God with openness, honestly, vulnerability ... and be truly expecting God to reply.