A physical exam will be performed by your doctor to detect varicose veins, which will include a look at your legs while you're standing to check for swelling. Your doctor could also ask you to describe any leg pain or soreness. You may also need an ultrasound to examine if the valves in your veins are functioning regularly or if a blood clot is present