swollen ankles/can't lay on back

Rachael • Married to my wonderful wife, mom to D, twins on the way. lots of other roles and titles.
I have pretty epically swollen ankles and I know you're supposed to put them high up over your heart. But I also know I'm not supposed to lay flat on my back. How does one navigate both?