bed rest at 32 weeks... help

I just came home from the hospital... 2 cm dilated and having contractions. I was put on strict bed rest but laying and not standing for so long makes my ribs and back FEEL AWFUL!!! it’s worse than the contractions. any advice?