How to make up a bad grade?
Best answer is to ask to do extra credit. Teachers hate excuses for doing poorly on tests. If it is an anomaly, you might get them to let you retake, but they will respect you more if you say "you know what I am not happy with my performance, I know that I can do better, is there anything that I could do for extra credit to make up for that test?" It's not fun, but it will be more likely to get the outcome you want (a better overall grade), because they will have a harder time saying no.
The only thing that I can think of right now is to perhaps ask the teacher if you can schedule a meeting and go over the quiz to see where you went wrong. You may not be able to get extra points but showing the teacher that you are willing to learn where you went wrong could show them that you are willing to correct any future mistakes. You could ask if there is or will be any opportunity to improve grades. Extra credit perhaps.
School is silly. Pray to Jesus. Jesus and God are the real truth, not school evolution science ball earth space fake.