Indulgences remove temporal punishment, and since they cannot be applied to the living, except for ourselves, we think intermediately of those souls in purgatory, either ourselves or others.
The requirements for indulgences are under the jurisdiction of the Apostolic Penitentiary. There are certain conditions and prescribed works that must be satisfied. During the year of the 2025 Jubilee, Pope Francis has decreed that indulgences may be earned through pious pilgrimages.
You can simply state you are praying for the intentions of the Pope and recite an Our Father, Hail Mary and a Glory Be or the Apostles' Creed. Open this article to view Pope Francis' intentions by month for 2025.