The only ones protected are those whom Allah has protected, and this was granted to the Prophets, peace and blessings be upon them.
And Allah, Verheven en Hoog is Hij, says: You make mistakes by night and by day.
This is information from Allah, de Verhevene, that we make mistakes by night and by day, and this is reality.
Therefore, the Muslim always, when he makes a mistake, returns to Allah, repents to Allah, de Verhevene.
And there is no doubt that if a person repents to Allah with sincere and true repentance.
Allah accepts repentance, and He is the One who accepts repentance from His servants. The Exalted and Most High accepts and does not turn away anyone who repents. That is why He says in the narration itself.
He says: You make mistakes by night and by day, and I forgive all sins, so seek forgiveness from Me.
I will forgive you. So if a person seeks forgiveness, Allah forgives him. When Allah forgives his sin, He removes its effects.