Wipers work sporadically

With no rhyme or reason wipers work sporadically. If a/c fan is on, when I activate wiper stalk fan turns off, then will start shortly after. What would cause this?
0