Text with options when in collision with object

I’m not sure how to do this.
I want it so when the player touches the object it displays the textbox and the text, I need it so the text initially displays a description of the object, then make that text disappear and replace it with the options yes or no together with a text asking whether you wish to take the item, I have never done something like this and I am unsure on how to proceed.