To obtain a plenary indulgence for yourself or for a soul in purgatory, the Church teaches that these five conditions must be fulfilled:
Make a sacramental Confession within 20 days before or after the day the indulgence is sought. (Source: Norms of Confession for Obtaining a Plenary Indulgence)
Receive Holy Communion on that day (or within 20 days before or after).
Have complete detachment from all sin, even venial sin. In other words, have a complete rejection of the desire to commit any sin.
Perform the indulgenced work (See the Manual of Indulgences – Norms and Grant, Fourth Edition 1999 and Enchiridion of Indulgences of the Sacred Apostolic Penitentiary of the Church)
Pray for the Holy Father’s intentions (i.e. one Our Father, Hail Mary, Glory Be). [Right before reciting the prayers, you can say “For the Holy Father’s intentions, with the intention of obtaining a plenary indulgence for a holy soul in purgatory [or for myself]…”
From the Raccolta, a collection of indulgences that used to be published by the Sacred Congregation of Indulgences:
“23. The Pope’s intention always includes the following objects:
i. The progress of the Faith and triumph of the Church.
ii. Peace and union among Christian Princes and Rulers.
iii. The conversion of sinners.
iv. The uprooting of heresy.”
This clearly means that no faithful Catholic can pray for the evil and perverse anti-Catholic personal intentions of Jorge Bergoglio who, with his intentional heresies and his open rebellion against Divine Natural Law, seeks to destroy and replace the Church and seeks the eternal damnation of the souls.