Here are some tips:
It’s crucial that you keep the meat well-chilled (at or below 40°F) and not just sitting on your counter while you unpack the rest of the groceries. If you’re going to freeze the meat, put it in that ice box no later than two days after purchasing it.

There is more you should know:

https://www.thekitchn.com/the-best-way-to-store-ground-beef-in-the-freezer-246478