Don’t apologize more than once.
It isn’t that people don’t want to hear you apologize, they do – but after a while, an apology turns into self-pity.
That self-pity then keeps you locked in to the mistake. Replaying that event in your mind isn’t helpful and a waste of energy.
Better to take that energy and invest in looking for solutions.