It depends on the amount of exercise. If the amount of exercise is relatively large and the intensity is high, it is recommended to exercise the muscles of the same group after 48 hours. If the strength is low, it is more casual, and it is good to reduce the strength appropriately.
However, it is recommended to practice alternately, such as practicing pectoralis major today and changing biceps brachii and abdominal muscles tomorrow.