Opting out of the pension

So I was wondering how I can opt out of the pension me and my company are paying into and could anyone tell me how I can do this please thanks Pray