Sleep insomnia is causing anxiety attacks …

So i cant sleep early :/ because i dont work summer because i work at a school so i been sleeping late waking up late… ever since i stoped working i been gettinf anxiety at night because i stay up late… how can i prevent that from happening and coming.. how can i sleep early again because i will be going bak to work in 2 weeks.