prevent a user to record/submit a form more than once by the same user

prevent a user to record/submit a form more than once by the same user

i need to make a form that cannot be completed by the same user twice ,
regardless of what he will do, something like an ip banned, or for  a period that i set and to be able to edit that period anytime with any values.
pls help me !!!