3D platformer Camera Question

Hi All

I have a question regarding camera following the player .Which script should I use ? I used cinemachine but camera is shaking all the time.

I learn coding from Learn to make a 3D Platformer Game with Unity on udemy but something is not working.

Nevermind I moved Camera to Player in Hierarchy.