Pretty is usually used to describe attractive women, and handsome is usually used to describe good-looking men.
You will occasionally see a woman described as handsome, but that's really an outdated usage.
If a man is described as pretty, it usually means that he looks effeminate, so it's not really a compliment.