Prepare an installation DVD/USB (see here for DVD and here for USB).

Check your computer manufacturer's owners manual to find out how to access the BIOS for your particular computer. Enter BIOS, then change boot device sequence priority. Set 1st boot device to the DVD/USB which contains your Windows 7 installation media. Save and exit from BIOS.

Boot your computer from DVD/USB

During Setup choose CUSTOM installation.