You might need to contact the Driver and Vehicle Standards (DVSA) if you’ve lost your theory test pass certificate number.
What you need to do depends on whether you want the number to:
book your test
take to your test