For this you would need to install the Shopify Product Reviews app:
Then head here:
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.