Preheat the air fryer to 390ºF. Season the burger generously with salt and pepper.
Add the patty to the air fryer and cook for 8 to 12 minutes, depending on how you like it. For medium-rare, check after 8 minutes; an instant-read thermometer stuck into the center should read between 120ºF and 125ºF.
Leave the burger in the air fryer with the drawer slightly open for 2 to 3 minutes, then transfer to a plate and serve with any accompaniments you like.