President Bush said Thursday Iran and Syria must stop helping extremists and commit to help Iraq 's fledgling government before any talks .