During heavy lightning, the best course of action is to get to a safe building or a vehicle.
If you are outside and there aren't any shelters or vehicles nearby, the best option is to get low to the ground as possible so that you don't want to be the tallest thing around in the lightning.