A Muslim gynecologist should refrain from practicing gynecology during their own periods of religious impurity, such as menstruation or postpartum bleeding. It is important to maintain cleanliness and purity during these times as mandated by Islamic teachings. The gynecologist can plan their schedule accordingly or seek assistance from fellow colleagues to ensure continuity of patient care.