means that
regretting an irreversible loss does not undo it; it is more useful to deal with the situation as it now stands.
The saying “It's no use crying over spilled milk” can be used when it is not useful feeling sorry about something that has already happened and cannot be changed.