How long has the sim not been working for?
Is it since you activated it? Or since you put in a new phone or since you've done a sim swap perhaps?
Is your account appearing active online?
Is your phone showing signal bars, O2-UK and 3G?
Or does it say no service or some other messages?
What does it say when you dial
*100*7# and *100#