As you complain cough with fever, it is more likely there is an infection in your throat or in your lungs. Typhoid fever do not have cough symptoms.
Next Steps
Kindly meet a good general physician, so that he can examine your throat and check your lungs for any infection. You may also require to do cbp and chest X-ray if required.