what causes epilepsy?

what causes epilepsy, and what triggers fits?

why do some have it and not others?

do you have it from birth, or does it develop afterwards?

any info welcome 🙂