Sexism

Sexism was the idea that all members of a sex were superior or inferior to another sex. An individual with this belief was known as a sexist.

By humans
While visiting Regency London in 1814, Bill Potts was subjected to sexist (as well as racist) remarks from Lord Sutcliffe, who referred to her as a "creature" and demanded her to "show respect in the presence of [her] betters". The Twelfth Doctor responded by punching him in the face, knocking him down. (TV: Thin Ice)

Roz Forrester found it difficult to understand the racism and sexism that she experienced in Paris in 1919 since such attitudes did not exist between humans in the 30th century from where she came. (PROSE: Toy Soldiers)

By other species
The Twelfth Doctor was rather fond of the First Doctor, but was incredibly embarrassed by his original incarnation's frequent sexist remarks. However, the First Doctor was only making the remarks to annoy his future self, as he did not like him to begin with. He stopped as he grew to like his future self more. (TV: Twice Upon a Time, PROSE: Twice Upon a Time)