How to fix my How to fix my marriage?

How do I get my marriage back on track? This year has been awful with legal issues, custody issues with my ex-husband & now I’m pregnant with mine & my wife’s first daughter. Sex has been taken completely off the table for her. She doesn’t touch me at all & it’s making me feel like it’s bc I’m pregnant, which makes me hate this pregnancy. When I try to initiate anything, she’s always “tired.” Or it’s the same excuse, “we haven’t showered.” Okay, ma’am, we can shower together. How do I fix this? A vibrator only does so much. I miss the actual connection & can feel myself losing feelings for her.