Do I have to wear a helmet?

Absolutely! And to comply with the USA Triathlon Competitive Rules, it must be a CPSC approved helmet, with the sticker visible inside the helmet.  Your helmet must be on and the chinstrap securely fastened anytime you are in possession of your bike.