My project requirement is to generate 0 to 200mV of voltage

how i can generate 0 200mV dc using Arduino and digital potentiometer.

Welcome to the forum

You started a topic in the Uncategorised category of the forum when its description explicitly tells you not to

Your topic has been moved to the Project Guidance category of the forum. Please be careful in future when deciding where to start new topics

you should make proper circuit and upload well programmed sketch

@nitya_123
Which Arduino do you have?

Make a voltage divider where the potentiometer is the bottom resistor.

(Note that the pot itself is a variable voltage divider but it can go up to the full applied voltage.)

Depending on how much current you need, you might need to add an op-amp or other amplifier.