Running on treadmill

Is this safe to do pregnant??? I forgot to ask my doctor.