Download SQL Server first, and run the installation program according to the directions supplied.
After installing the SQL Server, run the Setup Wizard to program SQL Server for proper operation of the program.