You can remember the meaning of 有时候 with this easy mnemonic:
Sometimes I have (有) time (时) to wait (候) for you, but sometimes I don't, so you better learn to hurry up.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.