Hey @Bookworm_K236.
Sorry to hear about your science test result. It can be pretty disappointing when you don't get the mark you were hoping for and fail a test, so that's understandable that you're feeling upset about it.
What I'd like to suggest, is to see if you can view it as a learning opportunity or a chance to improve, rather than a let down. Everyone can learn from making mistakes and finding out what went wrong and what could be improved. So although you didn't pass the test, you did discover what bits of the curriculum you need to do some more work on, and maybe discovered a bit about the type of pre-test-preparation you might need next time. Did your teacher go through the correct answers, and did you understand where you went wrong? If not, it'd be the perfect opportunity to get some extra help with it to understand the questions/solutions and show yourself, your parents and your teacher that you care about your grades and want to improve.
What do you reckon? Does that sound like something that could work?