Phosphates are rarely the real problem.
Probably don’t need to test for phosphates at all. If your pool is green, fix the chlorine first.
Phosphates are algae food, but they are everywhere — leaves, dirt, rain, even tap water. If your chlorine level is high enough and your pH is balanced, algae can’t eat those phosphates anyway. Most algae problems are from low free chlorine, not high phosphates.
If you have persistent algae despite proper chlorine levels, then test. Use a phosphate test kit or a test strip — they’re cheap and easy. If your phosphate level is over 1000 ppb (parts per billion), it might be contributing.
Treatment is simple: buy a phosphate remover (usually lanthanum-based — most pool brands sell it). Add it according to the bottle. It binds phosphates and they sink to the bottom, so you need to vacuum to waste or backwash after.
But really: don’t chase phosphates unless you have to. They are a distraction.
Spend your energy on managing chlorine levels instead.