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
Apple (iOS) devices:
Manage your iTunes Store and App Store password preferences
Prevent in-app purchases from the App Store
Android (Google) devices:
Require a password or authentication for purchases
Facebook account:
Set up a PIN for Facebook Pay
Android (Google) devices:
Require a password or authentication for purchases
Facebook account:
Set up a PIN for Facebook Pay