I have been a fitness instructor for 8 years, so don't be nervous. Your current situation is caused by excessive muscle lactic acid secretion due to lack of exercise after exercise. Rest 1-2 days and you will recover slowly. If it hurts particularly, you can do some massage or hot compress to recover.
The way to avoid it is to exercise more and let your body adapt to the current amount of exercise.