camera rotation on a ball

I need help because I’m doing a ball game and I’m trying to make the camera rotate around when you turn the ball… I tried some stuff, but the camera won’t move
Can someone help