UI Text. How To change Text

I have Unity 5.3

When I write

public Text text;
There is an error
The Type Of Namespace Text couldnt be found
What Should I DO

Make sure you’re including the namespace for UI.

If using c# put at the top

using UnityEngine.UI;

if using javascript/unityscript

import UnityEngine.UI;