Alternative to tranform.Translate?

Hi, i have a problem. I have a simple top down game, but i'm using transform.Translate in my controller script which makes my character vibrate when i walk into walls. Is there any good alternative to using transform.Translate which will stop my controller from vibrating?

If you are using a CharacterController component you should use either its Move or SimpleMove method. If your character is a rigidbody try modifying rigidbody.velocity instead.