How was Epilepsy regarded and treated during the Renaissance?

I know that in the Shakespearean play Othello had epilepsy, although he is a fictional character.

As did Aristotle and Napolean…how did they treat it?