That's why you should follow Prussian military complaint rules. The Prussian military allowed all soldiers to file complaints, even against officers. However the rule was that you could only file a complaint after one night had passed.
The idea is of course that you can think about what happened and reevalute it. Naturally the rule has its limits. If you are actively harassed then try to find help immediately. But in most cases it is a pretty good rule.