If you want to perfect your prayers, begin by praying them on time. While you begin to pray them on time consistenly, understand the reasons behind your prayer. Understand the importance of the prayer. Be aware of what you’re saying, who you’re saying it to, and how you’re saying it. Be aware of how your body is positioned, how your arms are folded, where your eyes are looking, the clothe you’re wearing and who you’re facing.
Take your time slowly reciting the verses of Allaah. Know what you’re saying before you say it. Give the words their due importance. Focus. When an outside thought comes to mind, spit over your left shoulder thrice .
Take time getting ready to pray, because when you give importance to how you look, you give importance to what you do. Begin with wudu. Are you rushing? Or are you taking your time with each body part. When you’re getting dressed; are you just wearing a paper bag and calling it covered or are you trying to look presentable to your Lord? Truly ask yourself these questions.
When praying, what helps me from getting distracted is envisioning the Angel of Death awaiting me to finish my prayer before he takes my soul away. The constant reminders of death truly help.
Begin perfecting your prayers by praying them on time. Continue perfecting them by being humble, showing humility, understanding the reasons behind praying, giving prayer its due importance, and realizing that’s so much more than body movements. Prayer is a complete conversation with your Lord. How shameful for you to ask ask and ask for your entire life, yet you hastily finish your prayers without even giving Allaah an ounce of your time.
 One of the Sahaabah complained to the Messenger of Allaah (peace and blessings of Allaah be upon him) about waswaas during prayer, and he said: “The Shaytaan comes between me and my prayers and my recitation, confusing me therein.” The Messenger of Allaah (peace and blessings of Allaah be upon him) said: “That is a devil called Khanzab. If he affects you seek refuge in Allah from him and spit drily to your left three times.” He [the Sahaabi] said, I did that and Allaah took him away from me. (Narrated by Muslim, 2203)