Diagnosis often involves a physical examination and reviewing the patient's medical history. In some cases, additional tests such as blood tests, urine tests, and imaging studies like ultrasound or MRI may be recommended to identify the underlying cause.