it was syncope
you had a condition called postural hypotension
please your blood pressure on standing and lying down
check hemoglobin level and blood electrolyte levels
Next Steps
increase your water intake take extra sakt in diet or nimbu pani in salt
Health Tips
if no improvement please consult neurologist