off-and-on (Adjective) — Intermittently stopping and starting. ex. "off-and-on sleep"
off-and-on (Adverb) — Not regularly. ex. "they phone each other off and on"