vagina smells different with boyfriend

so i’ve noticed my vagina has a bad odor on the days that my boyfriend and i have sex (that carries over to the next day). we live together so we have sex daily. however, when i visit home and we aren’t having sex my vagina smells completely normal. is there a reason this happens and how can i prevent/fix this???