Answer/explanation:
I happen to be a straight A student, so I'd be glad to teach you some tips.
1.) Get good sleep - You cannot expect to be ready to work when you are tired and/or stay up all night. Getting a good night sleep (especially on schedule) will allow you to feel refreshed in the morning.
2.) Create a schedule - From personal experience, I know that setting a time when you work every day (about 5 hours or more if needed) then you will have time to rest, and will be orderly. It might take time, but you'll get used to it.
3.) Don't overwork yourself - Although working is great, too much of a good thing is almost always a bad thing. You won't feel like doing your work if you spend one day of the week working dawn till dust. This is exactly why schedules are so great: you make sure that you don't work too much.
Hope this helps! :D