For this you would need to install the Shopify Product Reviews app:
Product Reviews - Shopify Apps
Then head here:
Admin
Online Store → Themes → Customise
Navigate to your product pages
From the left-hand menu, scroll to the bottom and toggle the "Enable" checkbox -
We've already included all the coding required for this app, within your theme's base-code, so no need to add any for it to work.