There’s two things about mistakes. 1. Simply apologize sincerely without giving excuses. 2. Learn from them.
If you don’t apologize or learn then it looks like you simply don’t give a fuck about other people and the only thing you’re sorry for is getting caught and how it makes you look.