Usually the immune system will kill germs in the bloodstream. However, if a person's heart has a rough lining or abnormal valves, the germs can attach and multiply in the heart.