Hi,
Welcome to the ehealthforum and I am glad to help you out. There can be many possibilities for such pain in the back. It can be due to spinal causes, muscle strain, pelvic inflammatory disease in females, kidney stones, spinal conditions causing nerve pain, gastrointestinal and genitourinary causes. You need to consult a physician/ gynecologist for confirmation and get investigations like blood tests, ultrasound lower abdomen, MRI lower spine and cervical swabs done.
Regarding the soreness in ribs, , it appears that youâre suffering from costochondritis or Tietzeâs syndrome. In this, thereâs inflammation of the costal cartilage (the area where the ribs are attached to the sternum). Giving rest to the area by avoiding lifting any heavy weights, applying a local analgesic cream and using some oral anti-inflammatory drugs along with muscle relaxants help in the improvement of the symptoms.
If the symptoms are severe then it is best to consult a physician.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care.