How do I remove the search box from the content area

A large search box shows in the main content area no matter which theme I use and I want to remove it, I believe I have to edit something in search.php but don’t know which lines I should remove or change. Thanks if anyone can help.