How do you modify you're program you are doing? Like in reviews I see people modified which exercises and what order and day they're in

And like can you change the days you rest and hit the gym on ur split?

Also random question but is it inefficient to have like 4 gym days and then 3 days of straight rest afterwards? Because my gym is closed Friday and sunday