That is a broad question; yet, it is a fact that even healthcare professionals sometimes have minor health issues requiring a consultation.
As for doctors, it is widely acknowledged that we rarely seek the opinion of a colleague from our own practice—following the same principle that prevents us from being objective when treating our own family members.
When a genuine need arises, the tendency is either to see a stranger or to turn to a former classmate from medical school (someone who is, of course, familiar with your anatomy, having shared those infamous hospital staff room parties).
However, I can attest that I have performed gynecological examinations on female staff members from my own department.
Perhaps due to practical reasons or appointment scheduling constraints, some felt no embarrassment about asking for a consultation—often at the end of the workday.
If they trusted me, why refuse to perform an annual check-up or alleviate a concern through a breast or abdominal exam?
Naturally, confidentiality remains paramount; there is absolutely no question of disclosing that a particular colleague has a genital infection or wishes to have an IUD fitted.
I must even admit that these examinations were very rarely billed or submitted for reimbursement through the health insurance system.