If there is not a big gap between your grades and the undergraduate admission line, you can choose to repeat for one year and use this time to improve your grades again. You can sign up for a remedial class to help you study, or one-on-one tutoring, which is very helpful for your grades.
If the score gap is relatively large, you can also choose other ways to continue your studies. I suggest you make a plan for further study in advance. There are many plans to choose from, and you can plan the most favorable plan for further study according to your own achievements. Planning early will make it easier to achieve the goal of further education.