Just simply follow the few steps below and reboot your iPhone.
(Applicable to iPhone X, iPhone 8 and iPhone 8 Plus)
1. Press and quickly release the Volume Up button
2. Press and quickly release the Volume Down button
3. Finally, press and hold the Side button until the Apple logo appears (around 10 seconds)
Note: Unsaved data may be lost during the reboot process.