An officer was injured while working on a scene and was taken to the hospital on Friday afternoon, police said.