I'm usually a very happy person. And then I'll just think about something sad or scary and I usually won't get over it for weeks at a time. It's a really horrible kind of sad and it makes me scared and my stomach starts to hurt. But it's not all the time. When I'm not sad, I'm usually very happy and almost excited. I really don't know if I should talk to someone because I don't know if there's an actual issue.
It is possible you may have bipolar. People with bipolar their moods can change in the blink of an eye. I myself have it. I can be having a great time hanging out with friends and I think one little thought or see a tiny amount of something and it makes me sad and takes all the happiness away. Talk to a psychiatrist, or better yet a friend or family member about it. It can be a nuisance to have bipolar, but just remember that you are never alone.
Most of our sadness comes from our own mind. Our mind is a thought factory, it produces thoughts. Just as the thoughts we produce, so are our feelings and actions. Therefore, our sadness doesn't come out of nowhere. The sadness is coming out of the mind. If the mind is full of happy thoughts, we cannot be sad. Sadness is the effect, the cause is the thought. If you want to change the effect of sadness to being glad, then change your thoughts. You can change your thoughts by changing the emotions. You replace negative emotions which are toxic to positive emotions which are powerful. Therefore, understand the problem where the sadness emerges from. Take charge of your mind, it's a monkey, it's creating misery, and replace the negativity with positivity. You will be happy.