Wiktionary
turn a trick
vb. (context chiefly US idiomatic of a prostitute English) To perform a sexual service for a customer.
WordNet
turn a trick
v. have a customer, of a prostitute