The beaches in and around San Pedro Town are not great, IMO. Swimming at Ramon's is OK but because of that it's often crowded. South of town around Mata Rocks isn't too bad either.
Your best bet I think, is swimming or snorkeling off the end of the piers. Just be sure to stay in the roped off areas...boats travel very fast and are not looking out for people