You can remember the meaning of 偶尔 with this easy mnemonic:
I occasionally bump into him, and at first, I thought it was accidental (偶), but it's been too frequent recently so (尔) I'm starting to think he's stalking me.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.