The reply from Oggyo is missing steps: specifically how to enter recovery mode, where the factory reset is performed.
For full instructions please refer to: #95382
After a factory reset, can then use your phone with a fresh install of GrapheneOS. Of course, you will have lost all the apps and user data you stored on the phone.