He should return to recite it correctly and continue his recitation. However, if he realized the mistake when he entered the bowing or prostration, he cannot return, and he should continue with his prayer.
It is not permissible to expose one's self or others to death. Also it is not permissible to expose self or others to waste an organ or disable it based on compulsory precaution.