Question on clomid

Do you have to under going fertility testing before receiving this from doctor or is this something they would give me because I have irregular periods ? I was given Provera once for my period.