It would be unfair to assume that we have all been in the position that I am about to describe.
My freshman year of college I took physics for the first time (it was difficult and I had to re-take it, a point you are about to learn) and I vividly remember how demoralizing the final exam was for my internal confidence.
The subject matter was insanely difficult as was, but I can now be honest and note that I did not apply myself enough or do enough studying and prep ahead of time. This left me in a bad spot and I stared at the final exam knowing that I had no idea what to do, how to start and ultimately had to accept that I would soon enough be back taking the class.