We do not know the day, nor the hour of our death. It is a simple fact, which should encourage us to live each day as if it could be our last.
With this in mind, we can pray to God and ask him for the grace to die with a good and peaceful conscience. This means that we are at peace with God and do not have any regrets, wishing that we had lived a better life.
Here is a prayer from the Raccolta that asks for this special grace.