Vaginal PH.

I've read that if your vagina has a certain PH it may be harmful to sperm and keep you from getting pregnant. How can you tell if your PH is harmful? What can be done it is?