How to show my slider only on the Homepage? (WordPress)

If you used the shortcode publishing method, then you could add a page=home parameter to your shortcode as you see here and then it will only show up on your homepage.

But if you are using our slider as a widget, there are plugins like this one which are offering options to choose where your widget should show up, so you could pick the homepage with the help of this plugin too.