Risky to grow prickly pear cactus?

I want to grow a prickly pear cactus in my yard but I ve read that it can spread like a weed. Is that true? What can be done to prevent that?
2 answers 2