SQL Server 2017 Express Edition firewall install issue

Im currently trying to install this in the SQL server 2017 setup, but I get a warning from windows firewall stating: The Windows Firewall is enabled. Make sure the appropriate ports are open to enable remote access. I`ve seen videos where your suppose to change the ports in the management studio, but I heard that your suppose to install SQL before you install management studio.