Feeling bad

So I have this cold and ear infection. The doctor gave me antibiotics, sudafed, and robitussin. I feel bad for taking it. The doctor assured me it was all safe for pregnancy but I still feel guilty. With my first I barely even took Tylenol.