A woman can maintain her modesty during a medical examination by wearing loose and comfortable clothing, requesting a female nurse or assistant to be present during the examination, and using screens or curtains for privacy whenever possible. It is important to communicate any concerns or discomfort to the healthcare provider, who should respect and accommodate the patient's modesty.