There is a reason why there are professionals who are best suited to help you whenever you are depressed.
So, if your partner is suffering from depression and you don't know how to help them, it is better for you to encourage them to seek medical help so that they will get better.