Same way that you stop them from sharing MP3 files: you don’t. Some people share them, but most don’t bother because there are convenient ways to pay for them, and those ways offer better value than scouring the internet for pirate downloads. So there is still a reason to hunt down pirate sites, as the copyright holder doesn’t want piracy to be too convenient, but locking down files with DRM ultimately just isn’t a great solution.