How to bring intimacy back

BAR21

Me and my bf broke up last night after a horrible sex attempt. Our relationship no longer had intimacy and no matter how many times I tried to have sex with him before he rejected my advances. I know I’ve been down and depressed about my self for a few months now smh maybe that’s why the intimacy left and we broke up.... I self sabotaged my first real relationship