How soon to try after a miscarriage

Is it bad to try after a month it happened ?