If you have a feeling of doubt that your account is hacked, immediately alter your login credentials and, along with this, look at your recovery settings. Besides this, inspect the settings of your Yahoo mail app's settings to check for any unwanted third-party emails or unidentifiable login credentials. Once finished with this, run a check through the mail settings to ensure no information gets changed.