How to import stock prices into google sheets

How do you set up Google Sheets to import live or historical stock prices?