Are all causes of epilepsy genetic? does it start anytime in life?

my sons started his attacks at the age of 16 yrs old, now hes 20 yrs old and still taking Depakote 1000mg/day, still indefinite until when he is going to take it..