Decide on the phone you want and buy it sim-free.
Decide which network you want then get a sim-only contract.
For example, a Google Nexus 4 (which is a good android phone), from google will cost you £239
A giff-gaff contract can be had for £10 (if you shop around you can get a deal for under...