Some time as two words means a span of time: "We spent some time in the lion's cage."
Sometime as one word means "at an unspecified time": "Let's have lunch sometime."
Sometimes means "now and then": "Sometimes I go to the gravel pit and roll around in the sand."
(from the UVic Writer's Guide)