pregnancy question?.

Can an infection be preventing me from getting pregnant?