Coughing Bloody phlegm

I’m a sixteen year old girl and the only medicine that I take is for my mental health and I don’t know my weight but I’m about 5 3 and

Both of my parents got sick and I recently started feeling sick but not as bad and barely coughing but the few times I have coughed this mucus/phlegm stuff coming out but it has blood in it. Should I go to the doctor? I asked my mom if it was normal and she said that it isn’t and if it happens more then I have to go to the hospital which is honestly way over dramatic. Do I actually need to go to the doctor or will it go away on its own?