While Windows 8.1 doesn't provide a way to create a repair disc, either on CD or DVD drives, you can use a USB flash drive.
Video of the Day
Creating a Windows Recovery Drive Using a Windows Recovery Drive Using an Installation Disc Windows 7 Repair Disc
Creating a Recovery Drive
Insert a blank USB flash drive into your computer.
Type "recovery drive" from the Windows 8.1 Start screen and select "Create a Recovery Drive" from the list of search results. The onscreen instructions will guide you through the steps. Click "Finish" and then put your recovery drive in a safe place.