If you are using bitcoind the
getnewaddress command returns you a new one.
If you want to speed up this process you can pregenerate addresses
using keypool in the bitcoin.conf or passing the keypool option to bitcoind with the number of addresses to be pregenerated.