How to make a plane rotate after clicked on.

Hi I want to make a plane object rotate continuously after I clicked it with the left mouse button.
How do I do this?

Add this script to your plane:
using UnityEngine;
using System.Collections;

public class MyRotateOnClick : MonoBehaviour {

	public bool startRotationFlag;
	
	void Update () {
	
		if(startRotationFlag){
			this.transform.Rotate ( new Vector3(45,0,0) * Time.deltaTime );
		}

	}

	void OnMouseUp()
	{
		startRotationFlag = true;
	}
}