A. Close other apps running in the background to free up memory. Double-tap the home button (or swipe up from the bottom on newer models) and swipe away any unnecessary apps.
B. Ensure your iPhone is updated to the latest iOS version. Go to Settings > General > Software Update and install any available updates.