Question: how to stop thinking negative thoughts in a relationship?
Answer: Do not take the negativity personally.
Remember that the negativity is their problem, not yours.
If your partner rejects your offers of help, don't overreact.
Spend time with positive people. ... 
Invite your spouse to take a walk or do some fun activity with you at least once a week.