Depending on the severity of pain and the affected area, your healthcare provider may or may not recommend an X-ray to understand the depth of the injury. If your doctor suspects a bone injury or fracture, you might have to get an X-ray.