How flexible are your days on/off as a new trucker?

Noob question sorry but I'm thinking about getting my cdl and want to know if I could for example, drive 3 days and take 2 off of choose a similar routine. Or is it that the company you drive for just gives you whatever. Thanks