To stop apps from running in the background, go to your device's settings. Navigate to 'Apps' or 'Application Manager', choose the app you want to restrict, and select 'Battery' or 'Data Usage' options. Here, you can disable background activity. This helps improve battery life and enhance performance by reducing resource usage.