digitalWrite(thisPin, thisPin);
You need to look at the documentation for the digitalWrite() function, to see what the arguments are supposed to be. Only one is a pin NUMBER.
and they stay on
Because you don't turn them off.
so how do i make it repeat?
There must be about 800 million variations of this code floating around. I find it a bit difficult to believe that you can't find code that works.