Your pet should be tested for heartworm infection before he or she is placed on a preventive to avoid any harmful or possibly fatal complications. For instance, if a heartworm-infected dog is started on a monthly preventive, immature heartworms (called microfilariae) can die suddenly, causing a serious, shock-type reaction. In addition, some preventatives kill adult heartworms in a manner that can cause illness directly within the heart/lungs as well, so an infected dog needs to be started on a proper treatment plan and certain preventatives need to be chosen.