As others have said, definitely go see your professor right away. See what you can do differently / better going forward. Seeking help will show her/him you care which actually matters to college profs. Not seeking help will show you don’t which also matters to them.
College classes are very different than HS. Lots of kids struggle in weed out classes. Some decide it’s not for them. Others stick it out and grind through it because it’s only a class. Just because you struggled doesn’t mean you can’t do the work going forward.
Good luck.