Before praying, give tzedakah and bind yourself to the tzaddikim of the generation.
Sefer HaMidos, Prayer, Part I §33