So, I've been through this. I found a couple things really helpful.

1) make plans with people. Do something with a friend or friends and say "want to make this a regular thing?" For me, I went hiking every saturday morning at 9am, and coffee afterwards with a friend. Another friend was regular weekly lunches.

2) write it down. You will have all these thoughts, about the relationship, about yourself, and more. Just write it down. It will show you who you are. You will begin to unpack things.

3) exercise. Wears you out, makes you sleep, makes you smarter, puts your head on straight.

4) give it time. Right now you can do anything. that's a negative, but will become a positive as you rediscover yourself and relax.