I just changed mine out about a month ago. Hopefully yours isn't totally dead or Mazda will want $280 for a new one. I found used one online luckily.
First I'd check if there's any blown fuses, if so its likely new wiper motor time...
Check the manual to remove the wiper motor, its not too...