How long?

Okay so doctors ask if you’re sexually active usually right.

So like what if you’ve had sex before but haven’t for a long time?

Like how long does it take because you can say that you aren’t currently sexually active?

Such a broad question I know I’m just wondering xxx