It seems from the history that you had blackouts of vision with ddizziness and headache.
This indicates transient ischaemic attack. The common causes are hypotension
affecting the carotid arteries....
Transient ischaemic attack needs to be evaluated and treated to prevent complications.
Hence I advice you to consult your doctor for examination and treatment accordingly.