Hi, and thanks for your medical question on eHealth forum!
Fever with chills followed by cough and chest pain mainly points toward a lung pathology like pneumonia along with inflammation of the pleura causing pleuritis. You should ideally get an X-ray of the chest, complete blood count and maybe a pulmonary function test. You will need antibiotics probably.
Meanwhile take steam twice a day along with a decongestant. Consult a doctor ASAP. Hope this helps. Take care!