Be ashamed when you sin, don't be ashamed when you repent [To repent means to have a change of heart and mind. It is not simply a feeling of sorrow ,but a psycho/spiritual growth away from evil/death and a turning to God/life]. Sin is the wound, repentance is the medicine. Sin is followed by shame; repentance is followed by boldness [ Boldness means to beg God for undeserved mercy]. Satan has overturned this order and given boldness to sin and shame to repentance.