Fortunately I don't have that problem. My dogs really don't care about thunder.
The first thing to remember however is not to make a big deal out of it.
Turn on a radio or Tv.
Play with him.
Give him treats.
Don't coddle him and tell him "that's OK".
It will make him think something is wrong and his behavior is justified.