When the game tells you to rest and meditate on what you've learned, leveling up is simple: go to an inn and sleep. When you wake, you'll gain a level.
Keep in mind that sleeping can also trigger other events — such as advancing the Dark Brotherhood questline — and it fully restores your health.