Vaginismus can be treated with dilation training, therapeutic counseling, and, in severe cases, botox.
Yeast infections, an overgrowth of yeast in the body, are rarely contagious. However, they can make sex uncomfortable, so try and avoid it if possible.