It depends on the cause OP- there are various causes from migraine, inner ear issues, BPPV, strokes and all sorts. I sympathise because its absolutely awful.
Last year I woke and couldn't walk without holding the walls! The room was spinning and I was almost falling over. I tried the Epley manoeuvre myself and vomited multiple times. The only relief was lying down and trying to sleep. It lasted days, but each day was slightly better. 2 weeks later, the same happened again so I saw my GP. She ruled out various things. One test was tipping me back and watching my eyes- if they flick back and forth (nystygmus), it would have indicated I think BPPV. Mine didn't do that, so she said it was likely a vestibular migraine. I tried the anti-sickness med promethazine she prescribed, but it did nothing. Luckily as the week wore on, it improved.
Long story short, I'd had dental work before this all started and once it was sorted- I've never had it since. Apparently grinding your teeth at night can be another cause. If that's the case, you can buy guards to help. A friend had BPPV and suffered for months, despite doing the exercises herself. Eventually they put her onto a tilting bed which sorted it within minutes!
I'm not one to run to my GP, but like you, I'd be seeing them if it happens again. Wishing you all the best x