I got a kitty a few months ago. More than 50% she poops in random places.

What can I do to have her stick to the litter box.