In Catholicism and some Protestant traditions, you will enter into a state of Purgatory, (or purgatory-like phase) after death where you are cleansed of sins. This could potentially take a while.
This should be written in the devil contract, like how long do I need to stay in purgatory...