Is it okay to use bleach??

I was cleaning my toilet today, never even though & just grabbed my spray bleach. Didn’t realize I shouldn’t have used it until after I was done. Is it okay to use bleach while pregnant????