Many people opt for a combination of the two.
To start off, it is a good idea to become familiar with the plants that are the most successful at attracting hummingbirds in your immediate area. If you take a walk around your neighborhood, you may notice hummingbirds using certain flowers for food. By making note of which flowers the hummingbirds favor the most, you'll have a good head start. You can attract them into your yard by using the very same plants. As most fans of hummingbirds are quick to learn, the primary color of these flowers is red or some related color, such as orange or pink.