my interior lights have suddenly got a mind of their own

the other night the interior light wouldn't turn on then the next day was working fine...
then last night my clock lights didn't light up one side of the clocks so i bashed them and it started working ..
do you reckon its just loose connections ??