Regret (emotion)

Regret is often felt when someone feels sadness, shame, or guilt and primarily regret after commiting an action that the person later wishes that they had not done.