There are many countries that have used nuclear weapons.
If you're talking about the USofA they didn't try that hard at preventing Iran from enriching - they tore up a perfectly good and well functioning monitoring agreement at the start of Trump's first term.