The best thing to do is set the mark (the weight towards the total grade in the edit quiz page) to zero and regrade the quiz. If it's a bad question, you'd better edit it too, so that next time you don't give the same faulty question.
See https://docs.moodle.org/33/en/Building_Quiz#Dealing_with_faulty_questions