How to be happy after being depressed?

I was depressed and isolated for about five years. I am just now getting out have it (about a year). I feel so so much better. I am in nursing school now and have a new boyfriend. I feel like it is my time to be happy and just enjoy life. However, it’s hard not to fall into the patterns i’m so used to. Does anyone have some advice?