Repentance: A Restoration of Joy (Psalm 51:1-19)

What can we learn from David in the aftermath of his great sin about repentance and the restoration of joy?