Oestrogen lowers the seizure threshold hence increasing number of episodes while progesterone elevates the threshold and hence reducing number of episodes.