Tori Spelling

Tori Spelling (Kevin Winter/Getty Images)

TARZANA, Calif. (KTLA) -- Actress Tori Spelling, who is pregnant, crashed her car Monday morning after being followed by paparazzi as she took her children to school.

Spelling tweeted: "Paparazzi chased me w/the kids 2school. I was trying to get away from him and had a pretty big accident. Took down whole wall of school."

Spelling, 38, who is expecting a baby in the fall, was not hurt.

She told her friends she was going to the doctor's office to make sure everything was okay with the baby.

":Going to dr now to check on baby. I think its just shock," she tweeted.

Spelling says a photographer followed her into the driveway of the Discovery School on Topham Street in Tarzana. As she tried to avoid him, she put the car into reverse and slammed into the wall.

She continued "He STILL got out to try to get pics, 10 school moms chased him away. Wht will it take? Someone dying for paparazzi to stop?

Her children, Liam, 4, and Stella, 2½, were not hurt in the accident.