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) to view open apps and swipe up to close them.
B. Restart your iPhone to clear temporary files and refresh the system. Hold the power button until you see 'slide to power off', then slide to turn off.