formula question

So I put my baby on enfamil newborn and the next two days he had green diahara so I switched to similac sensitive and his poop went back to normal but about 5 days later he became constipated and still is. The doctor never called me back. How can I get him to poop more? And should I switch his formula?