To "pay attention to" something means to look or listen to it carefully:
I always paid attention to the teacher When I was in school.
You can also just use "pay attention" by itself:
Hey, pay attention!
The adjective "close" is often used with "pay attention to". It gives the sense of looking or listening even more carefully, searching for details:
You've got to pay really close attention to the road when you're driving.