The Fifth Means: Asking God
The Fifth Means of avoiding Purgatory is asking God for this Grace. Some wise Catholics have a really great, if simple secret, which is well worth learning and using for our own benefit.
God promises us in the most solemn and deliberate way (and He cannot fail to do what He promises) that He will give us everything we ask in prayer, if it is good for us.
Now two conditions, especially, make prayer infallible, namely perseverance and faith. God cannot refuse such a prayer.
These Catholics we speak of pray expressly every day of their lives that God will free them from Purgatory. In every single prayer they say, in every Mass they hear, in every good act they perform, they have the express intention of asking God first of all and with all their hearts to deliver them from Purgatory and instead to take them straight to Heaven when they die.
How? That is for God to decide.
It is not easy to see how God can possibly refuse such constant, unceasing prayer. The fact that such prayers are said daily and many times in the day, for 20, 30, 50 years, shows that they are said with undoubting faith and magnificent perseverance.
http://www.shrineofsaintjude.net/home1606.html