What medication to take for pain within the right ribcage

The pain within the right rib is mostly caused by intercostal neuritis, rib fracture, cholecystitis, etc. It can be treated with nutritive nerve drugs, pain relieving drugs, anti-inflammatory and cholecystitis drugs.
1. Intercostal neuritis: you can take medicines to nourish the nerves, commonly used medicines are vitamin B1, methylcobalamin tablets, vitamin B6 and so on.
2. Rib fracture: pain relieving drugs can be taken to relieve pain; commonly used pain relieving drugs include: ① non-steroidal anti-inflammatory drugs, such as diclofenac sodium delayed-release tablets, ibuprofen tablets, loxoprofen sodium tablets and so on. ② opioid painkillers, such as morphine, codeine, tramadol and so on.
3. cholecystitis: you can take anti-inflammatory choleretic drugs for treatment, commonly used drugs are ursodeoxycholic acid, 50% magnesium sulfate.
These drugs have different degrees of adverse reactions, such as dizziness, nausea and vomiting, diarrhea, etc., in the use of these drugs for treatment, must be taken under the guidance of a doctor.