The option to set up Find My is part of the initial iPhone setup process. You may have enabled it then. If you didn't, follow these steps to turn it on. In earlier ...
You can turn off the Find My feature on your iPhone from the phone's Settings app, or via the iCloud website.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results