Find lim->0 (2+5/x^{2})

This is what I did first.

I first plugged in 0 to find if it's true.

2+5/0

Of course it's undefined since you can't divide by 0

So I was confused... How do you do this then?

Because if you factor x^{2}, it'll be (x)(x) which will be 0 = undefined

Can someone explain please?