Sex during spotting

Is it okay to have sex during spotting from implantation or ovulation?