Usually the best approach is reducing or modifying movements that cause pain instead of stopping everything completely. Machines, neutral grips, lighter loads, slower tempo, and higher reps often help keep training going without irritating the shoulder more.
Biggest mistake I made personally was trying to “push through” sharp pain on pressing movements.