My girlfriend had a very similar thing: a viral inner ear infection that caused dizziness, vertigo etc. Had to take a week off work, several weeks off biking, and several months off flying (she was learning to fly airplanes at the time). But it healed without a trace. If your case is similar, just give it time, rest, and try to avoid stress -- and it'll resolve itself eventually. I don't know the severity of your symptoms, but based on the girlfriend's experience, I'd say 3 weeks before you can safely bike again, give or take.