lost mucus plug at 36 weeks???

Amanda. • In a committed relationship-4 yrs! We got pregnant last year, but miscarried at 8+3. Now pregnant with my rainbow baby🌈
I'm 36 weeks today and lost my mucus plug... how long would you say I have until he comes?? The whole thing just came out in the potty ... also can I still have sex?? I'm just so horny tonight !!