Loose wire nut connection at fan maybe, light going bad. Do they have a ballast in ceiling fan maybe. I be a dumb old plumber, probably should keep pie hole shut.