I accidentally erased my phone from Find My IPhone app

So. I accidentally erased my phone from find my Iphone app.

First I clicked erase phone from another device. I thought it meant that the app would be erased from my phone, not otherwise. I think It misunderstood what it said. It asked me for my phone number and a message to write f.ex. This IPhone got lost, please call…
Suddenly the phone switched off and switched on again. It was written what I just typed, it also said I could connect to a Wi-Fi, if my phone got found. Which didn't work. I connected to ITunes, It said I have a locked sim and have to unlock it. Which is impossible. Because I can't acces my phone.

Please, Please PAAAAlease help.

Sorry, your data is lost, unless you backed it up via Cloud or on iTunes. Try going to the find my iPhone website and logging in, then you might be able to unlock your phone from there.