Don’t attempt a do-over until you have done a “re-learn.” Along with enhancing learning, the do-over is designed to help boost a previously low grade. When you re-take an exam without studying the stuff you messed up the first time, do you know what happens? Exactly nothing!
The mere act of re-taking an exam does not automatically improve your achievement. Learning what you missed does.