Do a complete factory reset: Restore your iPhone, iPad, or iPod to factory settings - Apple Support
Change all your passwords while the phone is offline
Patch the phone to the newest version of iOS.
And, most importantly, don't open any strange mails, attachments, etc.