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 iPhones) to see all open apps, then swipe up on the apps you want to close.
B. Ensure your iPhone is updated to the latest iOS version. Go to Settings > General > Software Update and install any available updates.