Although foam rolling is not harmful, you should avoid it if you have serious injuries like muscle tear or break. In such cases, consult your doctor.