Workout pains

Fanatic_Reflection
I worked out my booty and thighs 2 days ago and I can't stand up straight because it hurts soon bad. The muscles are torn so badly what do I do to make the pain go away or better?