Sore throat and swollen tonsils

My throat is in a lot of pain and my tonsils are pretty swollen. You can’t tell but there’s a lot of white stuff behind my tonsils. is it worth going to the doctor or could it just be from a cold?