How to not be dependent on someone for your happiness

I have a problem.. I'm so dependent on my boyfriend for my happiness. If my boyfriend and I get into an argument I spiral into a big ball of sadness. I don't know how to control this and how I can be happy on my own.