A police officer accidentally shot himself while responding to a reported dog attack in Berks County.