How can students edit their question after submit on course?

Hi!
I want my student can edit their question after submit like the function in this site?
How can i do that.
Thank you!