If it dislocates while you are swimming, I can't imagine you gave it proper time to heal up in the first place. Just get rest and see a good doctor if you can, every injury is different.