Try resetting the iPhone by pressing and holding the home button at the bottom of the phone and the Sleep/Wake button at the top until the Apple logo appears (10 to 20 secs) then let the iPhone restart
Many thanks to everyone who responded. As luck would have it I was offered a days work in Liverpool (where I bought my phone) so I was able to return to the Apple store. It couldn't be fixed so they gave me a new phone. Sigh, now I can't sync my music.