Go the professor of the class and ask for a retake exam? Go to the dean and speak to him/her. Repeating a year because you failed one course sounds harsh. Back in the days when I was in school, if you failed 2 or more courses in the year or had a low GPA below 2.00 you were held back and had to repeat the year.
If they ask you to repeat the year b/c you failed ocular anatomy -get out!
Reapply to another Optometry school indicating the circumstances or pick another profession. You'll be doing yourself a favor. IDK your stats from undergrad but go into medicine. If you are stressed out personal issues - seek counseling, take time off and come back.
I sure wouldn't repeat a year in OD school. HEEEEEEEEEEEELLLLLLLLLLLLLLLLL NO!
GLTY!