If your iPhone lacks a home button or your actual home button is not working, you can add a virtual one using AssistiveTouch. Here's how.
How to Create a Virtual Home Button in iOS Using Assistive Touch
Repairing Your iPhone Home Button From An Unofficial Repair Shop
How to Add Virtual Home Button to iPhone X (Guide)
Risidamoy for iPhone 7 Plus Screen Replacement with
How to Use iPhone without Home Button: iPhone 14, 13, 12, 11, & X
iPhone 8 / 8 Plus: how to get a home button on your iPhone's Screen
How to Get Home Button on Screen
Stop Swiping: How to Add a Virtual Home Button to Your iPhone
for iPhone 6s 4.7 Inch Digitizer Display LCD Screen
How to Get Home Button on Screen
Rotate the screen on your iPhone or iPod touch - Apple Support