How do I make an external USB bootable?
If you have previously downloaded earlier OS X installers via the App Store you can download them again (you will likely be warned that this version is older than the copy installed but you can continue with the download). Then you can use the appropriate commands to both erase and copy the installer files to your USB drive from https://support.apple.com/en-gb/HT201372