What was the secret to Edison's success? He explained that it was to never give up before he succeeded in what he was trying to do. Not giving up--that's the only way. Once you give up you are defeated. This is equally true in the realm of faith. Quitting is not faith. We have to keep chanting until our prayers are answered.
That is the correct way of prayer.