you either prevent them from casting it (kills, ramp removal, land destruction, discard), or you have counters to stop it
if you fail to prevent the situation and you can't stop it, something went wrong - you don't blame the card but look at where it went wrong