Hi, for extensive information on the Zero you should refer to the topic "changing PWM frequency"
http://forum.arduino.cc/index.php?topic=346731.0
where Martin L has done and is doing a wonderful job with assistance & suggestions. For a basic tutorial you can refer to the following:
https://www.picotech.com/support/topic24051.html
Cheers,
glovisol