Ppd while pregnant

Is it ok to get ppd while pregnant?