For this, you will need to follow these steps:

Tap on the Settings app on your Android device. In the Settings section of your device, tap on Notifications and Apps. Next, tap on the Yahoo Mail option and select Notifications. Then, tap on the Show notifications toggle button to enable the notifications.

Regards,
Peter