Once you've ended things, it's better to wait a few days before reaching out with your platonic olive branch. Giving your ex some time to come to terms with the state of your relationship shows that you respect their needs and feelings.