Usually, Pretty is used to mean attractive to a degree but without being completely beautiful For example, "That's a pretty dress" or "What a pretty view". It is also used to mean on a scale; for example "That's pretty annoying" or "That's pretty difficult".
Nice is used more like "enjoyable" or "pleasant" and when used to describe a person refers more to their personality. Another use of nice means precise'or a small distinction ; for example "That's a nice fit" or "That's a nice distinction".
This is not a complete list but I hope it helps..