Hello, I am an Audiologist. Based on your limited description, it sounds very likely to be Benign Paroxysmal Positional Vertigo (BPPV) rather than Meniere’s disease or labyrinthitis (@janbb: the layrinth is part of the inner ear, not the middle ear).
This was recently discussed in another thread… click here for more
Very many problems can cause dizziness and vertigo, so the best way to get an accurate diagnosis and appropriate treatment is to see a physician and give very detailed history and description of your symptoms. They will order further diagnostic tests to determine what may be causing your symptoms. These may include and Audiological evaluation of your hearing and middle ear status; the ENG/VNG test as described in that other thread; posturography and/or rotary chair testing are sometimes ordered when the diagnosis isn’t clear-cut, as are imaging tests if a Central Nervous System disorder is suspected.
Feel free to provide more details and ask any additional questions. I hope you feel better soon!