Thank you for writing.
If you are swelling this much, you need to seek medical advice as to why. You may have circulation issues or even a cardiac issue that needs to be attended to.
In the meantime, elevation of the legs is important. Get an ottoman or chair to rest your legs on and try to keep them above your heart. Wear loose clothing.