NextPrime

NextPrime[n]
gives the next prime after n.
NextPrime[n,k]
gives the kth prime after n.