Is this sentence right?

I have never had a pet before.

It would be better if you were specific and said before when.