How to file an amended tax 2023?

My 2023 return was rejected. I do not want to claim a dependent. How do I remove it from my tax filing?