Your lawyer will be present during an examination for discovery, but they are not allowed to coach you. So, you cannot ask them for advice when answering the other party’s questions. They can and will however intercede should inappropriate information be asked for or you are not being treated properly. Doing this and preparing you well for the process is how they will protect your interests during the examination for discovery.