Risk is unavoidable in investing so understanding how much you can tolerate is key to long-term returns