z-axis how to solve

how i can solve this problem
ArgumentException: Input Axis z is not setup

transform.Translate (Vector3.forward * Input.GetAxis (“Z”) * playerspeed * Time.deltaTime);

You may have forgotten to define Z as an input axis, as the error states. You can define it by going to Edit -> Project Settings -> Input. Alternatively, you may want to use Input.GetKeyDown().