Spoelstra is right. The Heat have some impressive wins under their belt, but they’ve also lost a handful that left Spoelstra scratching his head.

Miami Heat coach Erik Spoelstra calls to his players during the first quarter of the team’s NBA basketball game against the Boston Celtics in Boston, Wednesday, Dec. 20, 2017. (AP Photo/Charles Krupa)

Take a look at the past two games. After losing to the team with the worst record in the Eastern Conference — the Hawks — on Monday, the Heat came back just two days later to upset the team with the best record in the conference — the Celtics — on Wednesday.

Or how about when the Heat lost to the Pacers by 25 points at home, but then responded by defeating the Celtics and Timberwolves in consecutive games in November.

This season has been an up-and-down roller coaster for Miami. It’s the reason Spoelstra won’t allow his players to look too far ahead with a more favorable part of the schedule approaching.

The Heat (16-15) begin a four-game homestand and an eight-game stretch that includes seven home games on Friday against the Mavericks. Wednesday’s win in Boston marked the end of a 24-game stretch that included 17 on the road.

But just because seven of Miami’s next eight games will come at home doesn’t necessarily mean they will be easy. The Heat have struggled at AmericanAirines Arena this season, as they actually have a better road record at 10-8 compared to 6-7 at home.

“That’s just the reality of our team. We’ve been a little bit up and down,” Spoelstra said. “We just haven’t been able to put together our best games at home. The majority of our best games and best efforts, best competitive games have been on the road.”

Despite all of this, the opportunity the Heat have over this two-week stretch has not escaped them. This is Miami’s chance to make a run to be more than just a team hovering around the .500 mark.

And Heat players know it.

“This is probably going to be the most important stretch for us,” Goran Dragic said.

This upcoming string of games isn’t just a favorable one because most come at home. A lot of them also come against teams the Heat should beat.

The eight-game stretch includes six against losing teams — at home vs. Mavericks, at home vs. Magic, at home vs. Pelicans, at home vs. Nets, on road vs. Magic, and at home vs. Jazz. The other two games come at home — against the Pistons (which have lost seven of their past 10 games) and the Knicks (which are 2-9 on the road) .

“It’s huge,” Kelly Olynyk said. “If we can also get healthy, that’s also huge. But just to spend an extended stretch at home, get our minds, bodies back in check and go out there and show our fans what we’re made of, kind of just get on a little run and work on protecting home court and playing some great basketball right now [would be great].”

All things considered, the Heat return home in a good spot.

1. Seven Heat players have already combined to miss 77 games due to injury or illness this season. Center Hassan Whiteside has accounted for 16 of those games with a bone bruise on his left knee.

2. The Heat have played 18 road games and just 13 at home over the first 31 games of the season.

The Heat survived all of that to reach this point at 16-15. And Miami is hoping to get some players back from injury, with Justise Winslow, James Johnson, Whiteside and Dragic potentially returning at some point during the homestand.

“You can always be in a better spot,” Olynyk said of where Miami is positioned through 31 games. “You could always be in a worse spot. We’re in a spot we’re in right now and we’ve got to string a couple of these together and take care of some of these games coming up in this stretch for the new year and kind of take off, hit a little bit of a stride before the [All-Star] break.”

Just think, if Miami wins six out of the next eight games — a realistic goal — it will come out of this stretch five games above .500. But the Heat can’t get ahead of themselves, they just have to get healthy and win games.

“Our home record doesn’t show what we want it to up to now,” Josh Richardson said. “So, I think we have an opportunity to turn that around the next couple weeks. We just can’t talk about it, we got to put it in motion.”