For me cardio and core work helps my endo pain a lot. And my gyno told me the type I have has been compared to labor contractions so it's definitely painful even with prescription painkillers.   Exercise helps basically everything