Insomnia

It's currently 3am and I'm starting school soon and was wondering how do I regulate my sleeping schedule again? I've suffered through insomnia before and hope I can get through it again. Last time I would just ignore it and take sleeping pills but I'm looking for a more natural remedy. Any advice?