There are 2 possibilities:
1) If a Trump card was played, the player who played the highest Trump card wins the trick;
2) If no Trump cards were played, the player who played the highest numbered card of the required color wins the trick;
The cards are kept in front of the peacock from which the winning card was played.