Using a FOR loop.
FOR <whatever variable you want>=<first value> TO <second value>
... code ...
NEXT
FOR example, here's a bit of code that makes "Hello world!" appear 10 times:
FOR I=0 TO 9
PRINT "Hello world!"
NEXT
and here's code that counts from one to ten:
FOR I=1 TO 10
PRINT I
NEXT