If you’re worried that you’re in trouble, get in front of it. There’s never been a kind of trouble that wasn’t at least partially mitigated by admitting your fault in advance.
If you know you’re wrong, showing genuine remorse and responsibility is a way to earn grace and mercy. And if you don’t think you’re wrong – if you think the impending trouble is unjust – then not waiting until the last minute shows conviction and enables you to mount a more serious defense.
In either case, trouble of some kind is always out there. Don’t let it catch you unawares; do the reverse.