7.0" touch screen

The first thing is to start with a fresh installation of Rasbian. To be sure you are up-to-date do this:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

sudo apt-get install rasberrypi-ui-mods

sudo apt-get install rasberrypi-net-mods

Then connect it like this:

If you need to rotate the display, edit /boot/config.txt. Add this line:

display_rotate=2

This flips the screen upside-down.