The below diagrams show you how to play the B major 6 chord in various positions on the fretboard with suggested finger positions.
Interval positions with respect to the B major scale, notes in the chord and name variations:
Note: Major six chords share the same notes as their relative minor seven counterpart. I.e.. The relative minor of B is G# so BM6 shares the same notes as G#min7.