Hello nancyud,
Strange messages make me wary of possible phishing. I have never heard of Apple sending that kind of message.
Scams (e-mail, text messages, and phone calls) are getting very good at closely imitating true Apple communications. Always be cautious. Here are some guidelines:
Identifying legitimate emails from the App Store and iTunes Store - Identify legitimate emails from the App Store or iTunes Store - Apple Support
Recognize and avoid phishing messages, phony support calls, and other scams - Recognize and avoid phishing messages, phony support calls, and other scams - Apple Support
Apple 'How to identify, avoid, and report phishing' video--> https://youtu.be/SR3Z3fXXjfw
Since you may have logged into a fake site you may wish to read this information:
Click on this link "If you think your Apple ID has been compromised" --> If you think your Apple ID has been compromised - Apple Support
If you want to see if anyone else has access to your device or accounts, click here --> See who has access to your iPhone or iPad - Apple Support
Related materials:
Personal Safety User Guide
Personal Safety User Guide - Apple Support
> open the Table of Contents
A document with general information about security and your Apple ID --> Security and your Apple ID - Apple Support
Contact Apple for help with Apple ID account security by clicking on this link --> Contact Apple for help with Apple ID account security - Apple Support "This article provides country-specific Apple Support contact information for customers seeking help with their Apple ID password or other security-related issues."