Anal while pregnant

I’m 23 weeks and last week I had sex with my husband and was bleeding a little ( my dr said that can happen) so now I’m scared to have vaginal sex. Is anal ok?