Go to Settings > Network & internet > Hotspot and tethering > WiFi hotspot
Note: if turned on, your personal hotspot can consume a lot of data, resulting in power consumption and heating issues. This is a normal, but please use your hotspot with care.