ISO 9001 and ISO 31000 have little things in common. ISO 9001 is quality management system standard while ISO 31000 is risk management standard. Only common ground for those two standards is clause 6.1 in ISO 9001 that requires addressing risks and opportunities but without requirement to implement full scale risk management.
ISO 31000 provides a framework for establishing risk management process in the company through defining each step of the process. If you want to learn more about ISO 31000, ISO 9001 does not provide any foundation for it and nether it is required in any way, so it is better to go with ISO 31000 standard series from the beginning. I also recommend you to take a look at ISO 31010 that gives an overview of about 30 different risk assessments techniques.