HELP-edema and pain

KS

I am currently 25 weeks pregnant. I’ve been having this pain in my groin/pelvic area for the last week. I didn’t think anything of it until my leg started to swell the other day. I went to the ER to get checked and they said it’s just an edema and to keep my leg raised. Just walking 5 feet to the bathroom causes so much pain and my leg to swell up. Any other mamas experience this? Is there anything you did that helped?