Camera problems!

I am making a game where you shall move a ball through a course and when i’ll make the ball and camera parents, the camera just starts to rotates because the ball rotates anyone know how to fix this or know a better solution how to make the camera follow the ball?