You need to contact the DVSA as soon as possible. The DVSA will not provide you with a replacement theory test certificate but they will send you your certificate number by letter. You can contact the DVSA on 0300 200 1122 or by emailing them at customercare@pearson.com.