You know yourself best so take a look at some things you would change in order to improve your academic situation. Switch up study habits, go to more office hours (if you didn’t),etc. Don’t be afraid to try new things otherwise you could remain in the same situation moving forward.
I understand how a deflating semester can reduce your confidence. Just remember that the previous semester is over and you can’t change anything about it now. However, you can come out on top during this semester. That’s the biggest piece of adjustment, is learning where you needed to improve, then once the positives start appearing, your confidence will continue to grow as well.
Also, be sure to enjoy the college experience. Take breaks or whatever is necessary to help keep you going during the semester.