How to gain a plenary indulgence for the souls in purgatory

How to gain a plenary indulgence for the souls in purgatory