In Pennsylvania, you must wear a helmet:

In Pennsylvania, you must wear a helmet and eye protection if riding with a permit. It is recommended that all riders wear helmets and eye protection.