Hi thanks for your question.
You have developed upper respiratory tract
(infection of throat).Swollen glands are lymph node which have enlarged due to pharyngitis.You need a course of antibiotics and decongestant.Consult an ENT specialist
who may examine you and may prescribe you antibiotics and decongestant.There are antibiotics which can be safely prescribed during pregnancy
Hope this answers your question.