Double-click the home button. Small images of the Apps you've opened lately will appear on the screen. Swipe left or right until you have located the app you wish to close. Touch, hold and swipe the app's preview up to close it.

This will free up some of the memory on your device.

Here is a video demonstrating this technique: