That depends on how far away it was.
"The AsapSCIENCE video considers a 1 megaton bomb, which is 80 times larger than the bomb detonated over Hiroshima, but much smaller than many modern nuclear weapons.
For a bomb that size, people up to 21 km (13 miles) away would experience flash blindness on a clear day, and people up to 85 km (52.8 miles) away would be temporarily blinded on a clear night.
Heat is an issue for those closer to the blast. Mild, first-degree burns can occur up to 11 km (6.8 miles) away, and third-degree burns – the kind that destroy and blister skin tissue – could affect anyone up to 8 km (5 miles) away. Third-degree burns that cover more than 24 percent of the body would likely be fatal if people don't receive medical care immediately.
Those distances are variable, depending not just on the weather, but also on what you're wearing – white clothes can reflect some of the energy of a blast, while darker clothes will absorb it.
That's unlikely to make much difference for those unfortunate enough to be at the center of the explosion, though.
The temperatures near the site of the bomb blast during the Hiroshima explosion were estimated to be 300,000 degrees Celsius (540,000 degrees Fahrenheit) – which is roughly 300 times hotter than the temperature bodies are cremated at, so humans were almost instantly reduced to the most basic elements, like carbon.
But for those slightly farther away from the center of the blast, there are other effects to consider aside from heat. The blast of a nuclear explosion also drives air away from the site of the explosion, creating sudden changes in air pressure that can crush objects and knock down buildings.
Within a 6-km (3.7-mile) radius of a 1-megaton bomb, blast waves would produce 180 metric tons of force on the walls of all two-story buildings, and wind speeds of 255 km/h (158 mph). In a 1-km (0.6-mile) radius, the peak pressure is four times that amount, and wind speeds can reach 756 km/h (470 mph).
Technically, humans can withstand that much pressure, but most people would be killed by falling buildings."
In my case I'd squat inside my huge fireplaces and hope...they might stand up to the blast and gamma.