You can only go to the gym once every two weeks. You can divide the other four or six times equally in the rest of the time, and use simple movements as supplementary exercises, such as push-ups, sit-ups, pull-ups and standing heels, which can be practiced without a gym, so the effect will be better.
Generally, it is appropriate to exercise for 40-60 minutes. Don't go to the gym once every two weeks, so your muscles are too tired and the effect is not good, so you practice for too long.