2000 Toyota Camry

I just bought a 2000 Toyota Camry and took it to get smoged and it failed due to code p0770, how can I fix it or what needs to be done to be able to pass smog