HELP PLEASE

Has anyone got super depressed and just felt so worthless before finding out they were pregnant?? Is this a symptom? out of nowhere i started crying because my hair and i just felt so ugly and worthless.