If you are experiencing severe pain under your right ribs that persists for more than a few days and is not relieved by medication, it is important to seek medical attention. The combination of persistent pain along with symptoms like dizziness, weakness, and shakiness could indicate a serious underlying condition that requires immediate evaluation. These symptoms may be associated with issues such as gallbladder problems, liver disease, or even a potential heart-related issue. It is recommended to go to the emergency room or contact your healthcare provider for further evaluation and appropriate treatment. They will be able to conduct a thorough examination, order any necessary tests or imaging studies, and provide you with an accurate diagnosis and treatment plan based on your specific situation.