Lick One’s Wounds

What does the idiom “Lick One’s Wounds” mean?

Definition:

Rest after a bad defeat

For example:

“Federer will take three weeks off to lick his wounds after losing to Nadal.”