There are several techniques you can use, such as resampling (e.g., oversampling the minority class or undersampling the majority class), modifying the loss function or decision threshold, or using cost-sensitive learning.