Shoulder pain

Today during Waterpolopractice.  I was lifting weights and I heard a pop in the back of my shoulder blade where my shoulder blade is And it's has been hurting all day does anybody know what this could be or  what's causing it I put ice on it earlier and but still it hurt to move it.