How long is it appropriate to stay in the gym? There are also precautions for the gym. The more detailed the better. thank you

About an hour, but it depends on your physical fitness and the amount of exercise. It doesn't matter if you don't exercise. Pay attention to protect yourself when exercising. Don't force yourself to do exercises beyond your strength. Warm up before exercise, and remember not to exercise if you drink alcohol.