Will collages accept me?

Hello, I will be going to junior year in high school but my sophomore year was really bad and might have to repeat two classes, although the other classes were fine and afraid I might have to repeat my entire grade. Will collages accept me or should I brace the answer of never gonna be accepted to collages. I was never around bad influencers and am not a trouble kid (never got suspended or in trouble at all) but I was just depressed and was hard to do minor things a lot. I look forward to getting a tutor. But have received a letter that I failed bother classes and will probably repeat it. I’m just scared for my future.

Are you in counseling? If not, that’s the first step to getting better.
Repeat these classes and get help from a tutor in order to get As or B’s in them, then plan to take the next level over the summer. What were the classes?
Set time aside each day for homework, if necessary with a tutor.
Colleges will look at your new grade.
Start prepping for the SAT using Khan academy - do exercises every day. Test scores can help offset a lower GPA depending on where you want to go.
What’s your current GPA?
There are lots of colleges in the country, there should be some that are affordable (< key element) and admit you. If you can’t go to a 4-year straight away you can prove yourself in community college then transfer to a 4-year university.
Keep posting on this site, people will be able to give you advice and ideas about colleges you could attend.