This is normal, because when the human body is exercising, especially when it is anaerobic, the muscles of the human body will secrete a chemical called lactic acid, which will be distributed in points on the muscles of your exercise, so we will feel sore. One way to relieve pain is to stretch muscles after exercise, so that lactic acid can be evenly distributed on the body to relieve pain. Another way is to eat less acid after exercise.
This kind of pain varies in time according to everyone's physique. It usually takes 3 to 6 days.