Text loading?

Ok so I want to make a thing where you write in a input text feild and then it shows a paragraph related to the text you typed in. How would I go about doing this?