Anxiety over my phone

I have always really hated school, but now it's my senior year and I picked really easy classes so I thought it would be okay, but we just started this week and I've already skipped the past 2 days. I hate having my phone out in public and it gives me a lot of anxiety when other people see/touch my phone, and one of my teachers expects us to bring and use our phones everyday. I know it sounds stupid, but I seriously can't handle doing that, I have never once in my life brought my phone to class, I only use it at home and when I need to make an emergency call out in public. I don't know what to do, because I don't want to switch out of that class, and it's probably too late to anyways. I also feel like not being able to use my phone around other people has made people think I'm weird and it has held me back in so many situations. Any ideas on what to do/ how to get over this?