There're many possible causes to sudden dizziness, most common ones are sudden low blood pressure, insufficient blood supply, low blood sugar, anxiety, anemia. Some of them are serious.
I'll recommend you to see your primary doctor and run some tests.