Before you start the installation, you need to have to take care of these things:
1: XAMPP Server installed in your computer.
2: Magento 2 Downloaded (You can download Magento 2 from this link: https://www.magentocommerce.com/download)
Magento 2 has some installation requirements like:
Apache Version 2.2 or 2.4
PHP Version 5.5.x or 5.6.x
MySQL Version 5.6x
You can check this guide about installing: https://www.cloudways.com/blog/how-to-install-magento-2-on-localhost/