It is important with all inflammatory pain to avoid vigorous movement during times when the condition is flared up. An inflammation in its acute stage needs time to rest and time to heal. Once the flare up is over or subsided then gentle range of motion and weight bearing exercises with a strong focus on proper alignment can be very helpful.
Generally, then rule of thumb with pain is: if it still hurts 24 hours and beyond after you exercise then it was probably to much. Explore restorative yoga as it can be very beneficial for chronic aliments.