As you can see, there are many things that can be the cause of an idling problem. This section will attempt to narrow it down, but expect some trial-and-error. Skip to the section that applies to you: Engine Idle Is Too Low Or Stalls or Engine Idle Is Too High. They are in a general most-likely-to-occur order.
1 Get inside a home, building, or hard top automobile (not a convertible). Although you may be injured if lightning strikes your car, you are much safer inside a vehicle than outside.  Remember, rubber-soled shoes and rubber tires provide NO protection from lightning.
Better to just not get struck in the first place! Which brings us to the main point: Mitigating the risk of a lightning strike has everything to do with not being outside where lightning can hit you in the first place. In other words, proper shelter is the only way to protect yourself from lightning.