The most important word is Time.
Give yourself time to heal, to move on, to rebuild your life and confidence in being single, to find happiness within yourself, to find somebody new.
It'll come, just be patient and be excited for what the future will bring.
Chin up; it gets better.