To summarize the discussion between @joriki and myself in the comments:
The question is somewhat ambiguous. It could mean (at least) one of three things:
I. The first $n$ trials are all misses (no condition on what comes after).
II. The first hit occurs on the $n^{th}$ trial (so that the first $n-1$ trials are all misses and the $n^{th}$ is a hit).
III. The first hit occurs on the $(n+1)^{st}$ trial (so that the first $n$ trials are all misses and the $(n+1)^{st}$ is a hit).
No way to resolve the ambiguity (other than going back to the original source for clarification). But the solutions are fairly similar. Let $p$ be the probability of a hit and $q=1-p$ be the probability of a miss. (in the OP $p=.001$ but we can work in general with no extra effort).
The probability of two independent events both occurring is the product of the individual probabilities. Hence:
I. the probability is $q^n$.
II. the probability is $q^{n-1}p$.
III. the probability is $q^{n}p$.