Don't panic, just keep it cool.
It's not too late to fix any issues that you're having with work. The first thing you should do is identify why your grades aren't as good as you want them to be. Is it that you don't know the content well enough? Do you think you should do more past papers for each subject? Are you putting in enough work at home?
Figure that out and you can fix it. Also if you have someone to speak to about it, like a teacher at school, then ask them for advice too.