You type the right password, your mail appears — and an hour later the app asks again. That loop usually means the app is holding an old password in one place, or the account is asking for a fresh sign-in after a change. It does not usually mean you were hacked. Try these in order.
If you changed the password on one device (or a family member or a store did), every other device still tries the old one and asks again and again. Sign in once on the maker's website — gmail.com, outlook.com, mail.yahoo.com, or icloud.com — to prove the password you have is the current one.
This clears the stuck old password. Your mail lives with the provider, not in the app, so removing the account from the app does not delete your mail.
Many accounts now ask for a code sent to your phone after the password (two-step sign-in). If you close that code box instead of typing the code, the app will simply ask again later. Complete it once, fully, and the loop usually ends.