How do you know when you're over your last relationship?

M
How do you know when you're ready to date again?