You must meet the requirements shown in "Before you get started" here in order to set up a personal hotspot.
You also need to have a plan that supports hotspot with your cellular carrier. Often such a plan costs extra.
Share your Internet connection with Personal Hotspot - Apple Support