When do you start dating again?

If you were in a 4 month relationship, and it didn’t work out, how soon do you start dating again? Not necessarily going on a date but going online to find someone to date?