If I foam roll my iliotibial band and it hurts to roll does that mean it was inflammed? Or it normal to hurt

Depends. Foam rolls work great to provide a deep massage and it also forces you to stretch your muscles. Nonetheless, it tends to ache a bit after use that then resolves. The presence of inflammation is usually noted by pain before starting the exercise or foam roll plan.