Look up the energy output of the sun in an astronomy book. You will want it in watts (J/s). That is the number of joules the sun puts out in 1 second. Divide that number by the energy release of a single hydrogen bomb. The result is the number of H-bomb explosions equivalent to the sun's energy output in 1 second.