My HTC M8 has lost all my numbers,whatsapp contacts and logged me out of every app

A

AC Question

I turned on my phone and it said optimizing 1 out of 28 apps, once my phone had started I attempted to use whatsapp. My phone had logged me out of my old numbers and groups and due to me not having access to this sim I could not gain access to my contacts. The same can be said for all my phone contacts as they all operated under my irish number. Now,living in canada