وَأَنِيبُوا إِلَى رَبِّكُمْ وَأَسْلِمُوا لَهُ مِن قَبْلِ أَن يَأْتِيَكُمُ الْعَذَابُ ثُمَّ لَا تُنصَرُونَ
Turn penitently to Him and submit to Him before the punishment overtakes you, whereupon you will not be helped.
Agha Ali Puya Commentary
Commentary on Quran 39:54
[Pooya/Ali Commentary 39:54] The sinners must turn to Allah in repentance before they meet their Lord for the final reckoning, because once the decree is passed the punishment will begin from which there will be no escape. Pardon will be available to those who repent and surrender themselves to the mercy of Allah.