Different solutions exist to combat class unbalanced.
Choose the right metrics: F1 Score, ROC curve, AUC, etc. Generally an asymetric metric is needed for unbalanced data.
See the page on Resampling that talk about Tomek Links and SMOTE.
See the page on Algorithm-level methods that talk about Cost-sensitive learning, Class-balanced loss and Focal loss.
See: