Period help

Is it safe to have sex if my period ended one-two days beforehand?