You might be blanking out suddenly due to seizures, particularly an absence seizure, so if it happens more than once, you need to see a doctor.