But first it depends how you ended the relationship and whether you're the one who broke up or the other party. If you're the one who quit, then I bet you'll have to take quite some long time before moving on ..
Besides time you'll need to take time to choose the right person and avoid making the mistakes that you'd done before. You'll get to find and get your perfect match rather than rushing things may be like you did before.