The built-in Settings app may tell you if it thinks that some passwords may have been compromised.
However, beware of any messages you get about compromised passwords through notifications, text messages, e-mail, etc. These may be phishing scam messages, sent by criminals, intended to trick you into giving the criminals your current credentials while you are under the illusion that you are securing your accounts.
If you get a message saying that your Apple ID is compromised, and it has a link in it, don't click on the link. If you are afraid that your account might have been compromised, go to some place that you know Apple controls rather than trusting that the link is legitimate.
If you think your Apple Account has been compromised - Apple Support
Same idea for any other password. Don't trust links in text messages, e-mails, etc. The messages may be scams.