Costa was named in the Atletico XI for the first time since sealing an emotional return to the capital club, and he netted his team's second in their 2-0 win.
The former Chelsea forward was then sent off moments later as he picked up a second yellow card for celebrating with the crowd behind the goal.
Read how it all unfolded in Sports Mole's minute-by-minute live commentary of the action below.
ATLETI: Oblak; Vrsaljko, Savic, Godin, Lucas; Correa, Koke, Gabi, Carrasco; Griezmann, Costa
GETAFE: Martinez; Suarez, Djene, Cala, Antunes; Portillo, Mora, Arambarri, Amath; Molina, Angel