The correct spelling is once upon a time.
It's a common phrase used to start stories, often fairy tales.