Heartworm medication for pets comes in multiple forms, including injectable, chewable, and topical. The types available to you can vary based on your veterinarian’s offerings and your pet’s needs. Heartworm medication for pets comes in multiple forms, including injectable, chewable, and topical. The types available to you can vary based on your veterinarian’s offerings and your pet’s needs.