See your doctor. You might have a condition that's called Labyrinthitis. That's a deep inner ear infection, but it won't cause you to have an ear ache. It's a form of vertigo, and it affects your equilibrium and your sense of balance.
When you stand up after sitting down or lying down, you have to wait a few seconds until you regain your sense of balance, or else you feel as if you're going to fall flat on your face (and you might). Sometimes, looking down and then looking up will make you feel that way.
If your doctor thinks you might have Labyrinthitis, he will prescribe some antibiotic tablets that will cure the inner ear infection.