No, it will not cause pregnancy. Duphaston is a synthetic progesterone hormone which will correct your probable hormonal imbalances and help you to get the periods.
Next Steps
If you are experiencing irregular periods for a long duration, you can proceed for further evaluation.
Health Tips
If you don't want pregnancy, you should use appropriate contraception as usual.