Having a cold/sinus infections while pregnant

Can having a cold or sinus infection while pregnant harm the baby? What can i do to make it go away? Should i go to the dr?