get a styptic pencil, and when you nick yourself , apply it on the nick.
How did you nick yourself? too much pressure? dull razor? wrong angle?