What is the trial and error method

What is the trial and error method