I was having severe headaches for two weeks and it went from a headache to me having muscle aches, on an off fever, chills, sore throat and dry coughs?
Infection. Sound like an infection. Might be a flu or a strept throat. Need to be seen and tested.
Should I go to the hospital when I have a temperature of 102.7 with a severe headache, and a extremely bad sore throat where I struggle to eat?
Yes. Do not wait to develop respiratory distress.
See doctor. If your doctor can see you in the office today see them if not go to the er.
Strep throat or viru. All of the symptoms sounds mainly like a viral., but this could also be a viral upper and lower respiratory infection or atypical pneumonia. This could also be a strep throat. See your primary care physician.