where exactly do your shoulders hurt? if it's lateraly, to the exterior then your hand is tight - try relaxing it. if they hurt towards your back (towards the spine, behind the neck) then your position is wrong - try keeping your back straight.
also, if you practice tons without breaks, that's also an explanation. i take 10 min breaks every 90-120 min, and i move and stretch in these breaks.