1. Understand exactly what the AI has written. ChatGPT is pretty good for explaining the code it has written for you . read it . does it make sense? If not break the code it has written

  2. Write test for the code it has written This is a way to validate it the code does exactly what you expect it to