Not wearing a motorcycle helmet is not a good idea by any means, but it doesn’t automatically make you liable for an accident. You can still sue a driver who hits you if you weren’t wearing a helmet at the time of the crash. You might come to find that the amount of compensation you can get is reduced, though, because of the risk you knowingly took by not wearing a helmet.