Does God always answer prayer?
James 5:13-16
13 Are any among you suffering? They should keep on praying about it. And those who have reason to be thankful should continually sing praises to the Lord.
14 Is anyone among you sick? Let him call for the elders of the church, and let them pray over him, anointing him with oil in the name of the lord.
15 And the prayer of faith will save the sick, and the lord will raise him up. And if he has commited sins he will be forgiven.
16 Confess your trespasses to one another, and pray for one another, that you may be healed. The effective, fervent prayer of a righteous man avails much.
1 John 5:14-15
14 Now this is the confidence that we have in Him, that if we ask anything according to His will, He hears us.
15 And if we know that He hears us,whatever we ask, we know that we have the petitions that we have asked of Him.
Sometimes, we will find that God answers prayer by giving us not what we ask for but something better.

How to Pray
When you pray, you are not to be like the hypocrites; for they love to stand and pray in the synagogues and on the street corners so that they may be seen by men. Truly I say to you, they have their reward in full. But you, when you pray, go into your inner room, close your door and pray to your Father who is in secret, and your Father who sees what is done in secret will reward you. And when you are praying, do not use meaningless repetition as the Gentiles do, for they suppose that they will be heard for their many words. So do not be like them; for your Father knows what you need before you ask Him. Pray, then, in this way: Our Father who is in heaven, Hallowed be Your name. Your kingdom come. Your will be done, On earth as it is in heaven. Give us this day our daily bread. And forgive us our debts, as we also have forgiven our debtors. And do not lead us into temptation, but deliver us from evil. For Yours is the kingdom and the power and the glory forever. Amen. For if you forgive others for their transgressions, your heavenly Father will also forgive you. But if you do not forgive others, then your Father will not forgive your transgressions. Matthew 6:5-15
And in the same way the Spirit also helps our weaknesses; for we do not know how to pray as we should, but the Spirit Himself intercedes for us with groanings too deep for words; and He who searches the hearts knows what the mind of the Spirit is, because He intercedes for the saints according to the will of God. Romans 8:26-27