what is the appropriate amount of time to wait after you end a relationship before you start dating again?

How can you be sure you aren’t rebounding and convince another person you aren’t rebounding?