Hello there, this can be most probably due to throat infection, which is giving you sensation in throat and can lead to fever. I need to know few more details about your problem for proper diagnosis and treatment. There is nothing to worry about, you'll be absolutely fine with medication.
Next Steps
Consult online for proper treatment and guidance.