She was ashamed of her actions.
He was ashamed to admit his mistake.
She felt ashamed at her lack of knowledge.
He was ashamed and embarrassed by his behavior.
She was ashamed but determined to make amends.