How to backup an iPhone on iTunes when the screen of a iPhone is broken?

I broke my phone last week and idiotically never backed it up. I have many valuable contacts and photos on the phone. In desperate need of help

If your computer can still recognize your iPhone when you plug it in, you may try this alternative to iTunes. It can help you make a backup of your iPhone. This software can also transfer the contacts and photos from your iPhone to computer for backup. Hope it helps you. If the computer can't find your iPhone, you may need to take it to Apple store for help.