While it can be scary when it happens, it's helpful to remember that on average, each airframe gets hit by lighting once a year. It's quite common- happened to me three times already. Precautions are always to inspect the aircraft upon landing to identify where the lightning penetrated the aircraft and make repairs accordingly.