Inverted y axis

{
void Update()
{
var MouseY = Input.GetAxis(“Mouse Y”) * Time.deltaTime * 40.0f;
transform.Rotate(MouseY, 0, 0);
}
}
this script inverts my y axis when I move my mouse. any fix?

Make MouseY negative in the following context:

transform.Rotate(-MouseY, 0, 0);