how long it takes depends on how disciplined and consistent you are. my advice to you right now would be to change your mindset. you took 3 months off, so what? you’re not as fit anymore, so what? life is up and down. just get back on track, and remember, it’s okay to get off track sometimes. being healthy and fit is a life-long journey.