The expression "prick up your ears" is used to describe listening carefully to something that is being said or that is happening around you.
Example in use: “Prick up your ears, because I’m about to tell you what to study for the final exam.”
Fun fact: it is also the name of an 80s biographical film, starring Gary Oldman and Vanessa Redgrave, and directed by Stephen Frears.