How do I delete stock sale on 1099B in turbotax 2023

I was not able to change the code for long vs short term so I tried to delete form and this is not possible.  I tried clearing the form in forms mode but the form is still there and causing errors in smart check. How do I delete?