No judgment I’m incredibly upset and don’t know what to do about it 🥺

So my cat just turned 3 and is the scariest cat I have ever met. She wasn’t too bad until we got a puppy. He chases her and wants to play and no matter how much I try to keep him away from her he constantly is going after her. She hisses and runs and obviously gets very scared. Well she has been peeing in the house for a few months. We thought it was the puppy having accidents so didn’t think anything of it but now that puppy is potty trained we know it is her and my husband saw her do it. She was checked and doesn’t have a uti so they think she is doing it out of stress 😫 I am so incredibly upset that they do not get along and I love them both so much I just don’t know what to do. It breaks my heart to think about getting rid of either one of them but my puppy is 7 months old now so I really don’t see anything changing anytime soon. Does anyone have any similar experiences or advice? Please no mean comments I am absolutely heart broken.