when can we start having sex again?

la

so I just had a miscarriage on the 26th the bleeding stopped the 28th and now I just spot? is it okay to start having sex or do I have to wait till I stop spotting