When should I take my pill?

I'm starting birth control. My first class starts at 9am when school starts so I want to keep that in mind. I hate mornings but I heard that people tend to forget more if they take it at night.