Span (Croatia) interview question

How do you handle situations when the classes in model training are imbalanced?