Questionnaire to only run once

Does anyone know how to create a questionnaire that a user can only run once? I can create one but I can answer it over and over again. And it doesn’t overwrite my last answer, it posts a new one. I want it to either only let me answer the questionnaire once, or overwrite my answers if I decide to answer it again.