Open Settings
Tap Network & Internet or Connections
Tap Hotspot & tethering or Mobile Hotspot
Turn on Mobile Hotspot
Set a hotspot name and password if needed
On the other device, open Wi-Fi settings
Select your hotspot name
Enter the password
Connect to the hotspot
