Yes, it is your legal obligation to inform the DVLA (Driver and Vehicle Licensing Agency) when you scrap your car. You can do this online or by filling out a form and sending it in the mail.