How do you know when boneless chicken breast is don't cooking!?

How long should it stay in the oven..30 minutes?