On the pills

If I’m on the pills and want to get pregnant, when and how long do I️ stop taking bc to start trying?