After realizing that you just did something stupid, what will you do next?
if it made someone uncomfortable or even worse, upset, i'd say sorry right away. but if it didn't involve anyone then i'd just stare at the mirror and go, "you dumb– [the next words are censored for our own good]"