how to fix the first person rotation issue?

As you can see in the video, when I look down, the camera goes through the object.

i fix the issue