Can light falling out of socket, how to resolve issue?
Usually the trim ring fits up into the can with spring tension from bent metal fingers that grip the inside of the can.

If you remove it and pry the fingers out slightly it should re-insert tighter and hold up tight against the ceiling. 

Stay safe!