Use (i) the Ampere's law for H and (ii) continuity of lines of B, to conclude that inside a bar magnet, (a) lines of H run from the N - pole to S - pole, while (b) lines of B must run from the S-pole to N - pole.