Welcome to HealthcaeMagic.
You probably have acute pharyngitis
. It is probably an infection .You would need a course of antibiotics.There could be chances that you have tonsillitis
also , if tonsils are involved treatment with antibiotics is compulsory.I advise you to visit your Doctor and get examined.
Meanwhile keep doing salt water gargling to reduce pain and infection.