The solutions for sleeping on soft beds with back pain include replacing the mattress, hot compresses, physical therapy, medication, and lumbar and back muscle exercises. 1. Replacement of mattresses: sleeping on a soft bed for a long time, due to the lack of support for the back muscles, lumbar muscles are in a state of tension, resulting in muscle strain and back pain, it is recommended to replace the harder mattress, which will help to alleviate the pain in the back. 2. Hot compresses, physical therapy: hot water bags or hot towels on the lumbar muscles for hot compresses, promote blood circulation, relieve low back pain. Physiotherapy, such as electromagnetic therapy and infrared rays, can help relieve muscle tension and reduce soreness. 3. Medication: Oral non-steroidal anti-inflammatory drugs, such as diclofenac sodium, celecoxib, etc., can be taken to relieve pain, such as Yunnan Baiyao patch or flurbiprofen patch. 4. Low back muscle exercise: such as flat support, stretching and other actions can relieve the tension of the low back muscles, reduce pain. If the pain is not relieved and aggravated, it is recommended to go to the hospital in time for regular treatment. All of the above drugs should be used under the guidance of a doctor.