First, check your purchase history very carefully.
See your purchase history in the App Store or iTunes Store - Apple Support
Next, be certain the text messages are not phishing messages.
Avoid phishing emails, fake 'virus' alerts, phony support calls, and other scams - Apple Support