It's a well known scam.
Block the number and do not follow any links.
Forward the scam text to 7726 - It's free.
Other ways to report here including Action Fraud website
How to block a number:
O2 never text from a mobile number.
Track usage, upgrade and get support with the My O2 appDownload My O2