Vodafone Interview Question

What would I do when facing a problem while programming