A feature to delete the most recent prompt would be helpful

One problem with chatgpt I’m facing is that when I’m having a conversation about something and I choose to ask a slightly different question but in the similar topic, and then i wanna go back and talk about the previous prompt’s answer, it doesn’t seem to function too well, since it kind of gets accustomed to the most recent thread. I believe if I could delete the latest prompt, I could continue talking what I was talking about, in a better/easier way.