Wow, you have been through a lot in a short time. Don't underestimate the depressing after-effects of surgery, either. It is real.
It sounds like you are doing some very wise things for yourself. Something that helps me sometimes is to remember that while I need to keep moving and seeking out friends, etc, my energy under those circumstances could be very normally low. Recovering from surgery takes physical energy. Recovering from shock and loss takes physical energy. Doing all the "right" things to take care of yourself takes energy. You don't have to be at the top of your game right now. It would be OK to avoid club events with the ex if you want.
Give yourself permission to feel tired and pull back a little (not isolate, but you know what I mean)...and take that nap if you want, and don't answer the phone if you don't want to, etc.
And, shamelessly tap into anyone who loves & adores you and will heap positive affirmations into your life: friends, family, TE, whoever.
You are going to pull through this! Hang in there, and keep letting us know!
"The best rides are the ones where you bite off much more than you can chew, and live through it." ~ Doug Bradbury