The Spirit immediately drove him out into the wilderness. And he was in the wilderness forty days, being tempted by Satan. And he was with the wild animals, and the angels were ministering to him. (Mark 1:12-13 ESV)
Unlike in Matthew and Luke, Mark didn’t expound the temptation in more details, but we do know from those accounts that Jesus wasn’t tempted, a perfect man and God, he didn’t fall into temptation. For he is light and the darkness will not overcome him.