Vaginismus

Has anyone experience vaginism and do you have any tips on how to deal with it? My doctor recommended trying to resolve it on my own for a month or two and then if not to see a physical therapist. For any that don’t know what vaginism is, it is when you contract your pelvic muscles during sex resulting in very painful sex.