Go to setting
Go to general
Then scroll down to Accessibility
Click Assistive Touch
Turn it on
You can use custom gestures also but default is okey
You got different options.
It appears on your screen so is handy to use although it troubled me playing some games but it saves my home button life