after installing a new starter is my 1999 i30 not starting regularly on 1999 Infiniti I30

Just purchased a new starter and the car still has intermittent starting problems

2 answers
I just had a similar problem but it was not the starter. I ended up having a bad cell in my battery but because of starting issues I thought it was the starter at first
COULD BE THE STARTER DEPENDING ON WHERE YOU BOUGHT IT OR A BAD CONNECTION