When you have pain in your legs due to standing or walking for long hours, you can try to ease the pain by soaking your legs and feet in cold water. The cold water helps in constricting your blood vessels that reduce the inflammatory chemical mediators of swelling.