What is the meaning of [What’s done cannot be undone]

It is too late to regret an action after it has been performed. It is no use
crying over spilt milk.