I too lost my dad almost 15 years ago, and was quite depressed both leading up and after.
At least for me, what helped was when I started being honest with myself, and I started to accept my limitations and to incorporate that into my planning.
I don't mean that in a "just give up" sort of way, but rather accept the limitations and find ways to work around those.
I also found some Meetup groups and attended free meetings/events. Some technical to learn and network, others like hiking and cycling to counteract the negative thoughts.
I still forget to be honest with myself from time to time, so every now and then I need to have a stern talk with myself to realign.
At least for me, what helped was when I started being honest with myself, and I started to accept my limitations and to incorporate that into my planning.
I don't mean that in a "just give up" sort of way, but rather accept the limitations and find ways to work around those.
I also found some Meetup groups and attended free meetings/events. Some technical to learn and network, others like hiking and cycling to counteract the negative thoughts.
I still forget to be honest with myself from time to time, so every now and then I need to have a stern talk with myself to realign.