Vodafone interview question

What would I do when facing a problem while programming