How to cope without friends or family?

Can anyone give me advice on how you can handle getting dumped and blocked from a serious long term relationship without having anyone to turn to?