How do I repair my movement script?

Hi, I’m new to unity and I have a problem with my movement script. When the player collides with an object he bumps into it and starts glitching`

   void Update () 
   {

    float xAxis = Input.GetAxis("Horizontal") * speed * Time.deltaTime;
    float zAxis = Input.GetAxis("Vertical") * speed * Time.deltaTime;

    transform.Translate(xAxis, 0, zAxis);
   }

Tank you @JVene, I so and so now about fixed update but I didn’t
knew that the transform will confuse the physics. And I
am working on a first person controller so don’t know if
AddForce will help, because that pushes the object and makes the transition between points more like forced start and stop, like a car. I am going to dig more in the fixed update and physics of unity. Thanks again.