any advice?

so idk what’s wrong. i feel sad out of nowhere but i can’t figure out why. also i can’t really sleep at night unless i take medicine. i’m 16 and it’s scary. could it be hormones. it doesn’t only happen around my cycle. it’s all the time. like if i’m just quiet for a while or alone.