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 apps you are not using.
B. Restart your iPhone by holding down the power button and sliding to power off. This can help clear temporary glitches.