Yellow discharge 7 weeks

Nia

Hey ladies

So my husband and I had sex today. This was our 2-3 time so far during pregnancy what we had sex. So a couple of days ago I started have yellow discharge. I call my doctor and she told me what to do. I followed that. Today we had sex and keep the yellow discharge is back. Do I told my husband it is not you but I want to lay off the sex a little. I don’t want nothing to go wrong with this pregnancy. He said ok. He understand. We normally before pregnancy we had sex a lot. So I know it will be hard for him. I want to limit the number of things that goes up in my vagina.

What do you think?