Help a sister out

Who would I go to to get diagnosed with endometriosis okay so the symptoms are there but I want to be certain you have someone saying the hospital but they will just do a mri an it’s more to it but that’s how they were diagnosed , an I have another person saying the Obgyn can’t diagnose you an then the endocrinologist they say could do it as well who did you go to ? What would you prefer