Question !!

If you feel like you are begining of a depression, how to prevent it? (Feeling alone with boyfriend and in general, unhappy mood, consistently sad)