What is the meaning of [It is no use crying over spilt milk]

It was a great pity that it happened, but there’s nothing we can do about it
now. Don’t bewail the past. What’s done cannot be undone.