From the information you provided, it is possible that you contracted some infection from the other person.
Next Steps
Consult a physician or ENT specialist before the infection increases.
Health Tips
If it is a transient infection, you may decide to wait for a day or two to see if it reduces before taking medications.