While you should always discuss any medical questions with your doctor directly, wearing compression socks while pregnant is highly recommended to prevent blood clots and varicose vein development. They can also aid in relieving tired, achy, swollen legs.