Cast aside all worldly thoughts when you pray to the Almighty. Prepare yourself before you address the Almighty - clean your thoughts and consider every word before you utter it.
Act similarly with all that you do - by acting thus you will not sin. All that you say, all that you do, and all that you think will thus be appropriate - and your prayers will be pure, clean, well directed and well received by the Almighty, as is written, "when they prepare their hearts You shall listen".