Are ovulation tests good? Which ones?

Are they good if you wanna know so you make sure not to have sex on those days? How do they work?