When you log on, It will tell you what you were banned for, for how long, and by who.
If you have a problem with it, please make a post in the "Ban Disputes" page, not here under questions
Just in case you didn't know, there was a problem with minecraft servers yesterday on Mojangs end, so nobody could log on anywhere... I don't know if that contributed or not