Tell your boss

I'm 17 weeks pregnant, just did a job interview and it's looking good so far. my question is when should I tell them I'm pregnant??