Content on Index Page

I add content on the index.php file but that content show on index as well as category pages too. How can i fix it ? I just want to show it in index page.

Here is the Url Of website related to Happy Hump Day :

I’m guessing you’re referring to WordPress. Create a page template and assign home page with that template on pages section. That would do the trick.

Or if you’d like not to use any page template use if condition

if ( is_home() && is_front_page() ) {
//special index-page
} else {
// regular index-page