I used to have this problem all those years ago. First I would make sure your health carer knows about it and have blood pressure checked. Otherwise elevate your feet above your heart as much as possible while at the same time maintaining short bursts of exercise. Prolonged standing is the worst.