How do i fix camera position in my own character

There is UseControllerRotation Pitch and Yaw in character settings. Your character rotates up and down because of Pitch, so disable it.