Is the only way to know which bait a fish bites to is through trial and error and/or looking at a guide?

For those that fish without a guide, do you have any sort of process?