You can require a password for every purchase to help prevent accidental purchases on your device from apps and games. Below are links on how to turn on the security features on your applicable device.

Apple (iOS) devices:
Manage your iTunes Store and App Store password preferences