This document provides information about how to turn off find my iPhone and erase your personal data using the iCloud website, even if you can't access your iPhone because it's damaged.
This is important because Apple can't repair, replace or service your phone if find my iPhone is turned on, and for your own protection you must not send your device without removing personal data first.