Do it when it feels right (What the hell? My wallet's gone!)
It's awful that I even know what you're talking about XDLimit how many times you swear because there's a reason why they're called curse words, because they are literally a curse. If you do it too much, then you might bring back the Black Plague and a dragon will pop out.
I never swear in fear of committing a sin.