 It may also occur due to prolonged sitting or standing and during menstruation or pregnancy.The condition is more concerning if it starts suddenly, or pain or shortness of breath is present.Treatment depends on the underlying cause.