It is important to tell your parents about your grades. Do not lie to them. Rip the bandaid off as soon as possible. Expect the worst outcome, but show them your remorse. Promise them you will work harder for the next exam. Keep your calm and try explaining to them the reason for bad grades.