You should give yourself a year to try naturally if you have regular cycles and are 35 years old or younger before getting any fertility testing done.
Since your chances of becoming pregnant, whether naturally or with assisted reproductive technology, declines with age, it may be appropriate to start some preliminary fertility tests earlier if you are over 35.
Regardless of your age, it would be advisable to have this examined if you have irregular menstrual periods as this might be a symptom of irregular ovulation.