ex boyfriend

how can i deal with the fact that my ex is happy and dating other people when i’m still thinking ab him and extremely lonely?