Is it bad to work out legs twice in one day?

Ra

I did legs/glutes at the gym today, is it bad for my muscles to go to the gym again tonight and do more?