To be safe I'd recommend changing your passwords. You can change your Apple ID password from here: https://appleid.apple.com.
If you're using Gmail, Yahoo, etc. as an email service for Apple ID, I'd recommend changing your password for that account as well.
To be safe, never navigate to websites that aren't using the HTTPS protocol. Just because the server is using the HTTPS protocol doesn't mean it's safe however. So please also don't navigate to websites you're unfamiliar with. Please also never click on links, attachments, or provide information to unknown senders (this includes email (phishing), text (smishing), and phone/voice (vishing)). Attackers are smart and can spoof their email and/or phone number to look real. That is why it's always smart to navigate to the website yourself instead of clicking links and attachments they provide.
These attacks are very serious and it's important your passwords are strong and changed often. Most companies make their employees change passwords every 90 days.
I'd recommend using Apple Keychain for help managing strong passwords. Please read:
- Set up iCloud Keychain - Apple Support
- How to find saved passwords on your iPhone - Apple Support
- How to find saved passwords on your Mac - Apple Support
I hope this helps and stay safe!