Camera has my character problem

hello everyone, I have a problem when I but a camera has my character, the camera moves from left to right every time I move with my character.

I am new to game development.

could you help me solve this problem please.

Hi welcome to the forums and to gamedevelopment! Sorry but can you repeat your problem?