jumping into objects makes me fly unity 3D

when i jump into a object my capsule collider fly’s upwards and when i crouch next to the object it pushes me away, please help below is my code i use.

are you putting constantforce on your character or gameobject ?
if yes just add a force