If you have behaved badly, repent, make what amends you can and address yourself to the task of behaving better next time.