How to add a auto increment (+1)

I have a form in my website. I would like to add an auto increment variable to it. If any member submit the form, the form should have a serial number starting from 1. if second member submit the form then it should be 2 like that.. please help me