Why do my interior lights flash on and off occasionally when driving? on 1992 Buick Roadmaster

When driving 40 miles at night it happened 8-10 times yesterday.

Asked by for the 1992 Buick Roadmaster
Get your alternator tested it is probably starting to go bad and not cranking out enough power anymore to power the entire vechicle and accessories.