When can I start the pill

I have been on the pill for 3 years and was off of it for a month and just went back on it 3 days ago how long should I be taking the pill again before having unprotected sex?