So basically, you just play this tune throughout the whole song. Add a capo if needed.
[ Tab from: http://www.guitaretab.com/b/beyonce-knowles/230864.html ]
[------------------------------------------------------------------------]
[2-2-2-2-0-2----3-3-3-3-2-0----------------------------------------------]
[-2-2-2-2--------4-4-4------2---2-2-2-2-4-2-1---------------2-1----------]
[---------------------------------4-4-4----------4-0-4-0-4-0-----4-2-----]
[------------------------------------------------------------------------]
[------------------------------------------------------------------------]