People say this when they're frustrated or disappointed:
Darn! My shirt ripped.
I missed my bus. Darn!
"Darn!" is a lighter version of the curse word "Damn!" People who don't like to curse can say "darn" instead. Or you can say "darn" if you're around young children, or want to sound polite.