Do you still go to the gym when you feel pain?
You must stick to it. Muscle pain is actually a process of tearing and rebuilding muscle tissue. It will be ready in a week or so. But if you don't exercise for more than a week a day, your muscles will still feel pain when you exercise again. Of course, you don't have to exercise every day. If you are exhausted from every exercise, it is enough to watch it three or four times a week. Rest, nutrition and exercise are all important.