When to see a Dr.?

How long were you TTC before consulting a Dr? I’m only 23 and it hasn’t happened after nearly 7 months. Haven’t necessarily been trying but haven’t been preventing it either.