To install Windows XP, first insert the installation disc and restart the computer. When prompted, press any key to boot from the disc and start the setup process. Follow the on-screen instructions to accept the license agreement, select a destination for installation, and create a user account to complete the Windows XP installation.