When to use a HRM vs a Fitbit (flex)

Options
From various reads on here it looks like i should use a HRM when lifting or doing cardio that is more than just walking.

i have both and would like to make sure I'm logging the most accurate of readings.

any suggestions from people who may have both?