Jessica Alba has stopped trying to be ''perfect.''

The 33-year-old actress, who has daughters Honor, five, and Haven, two, with husband Cash Warren, has relaxed her diet and fitness regimes since becoming a mother, as she wants to set a good example for her children.

She explained: ''As I've gotten older and after I became a mom, it became more of a priority to be healthy for the right reasons. It's more important to have a balanced approach instead of trying to be perfect.''

Jessica still tries to lead a healthy lifestyle, but no longer feels guilty if she eats junk food.

She told PEOPLE.com: ''I don't deprive myself ... I have [junk] if I want it. When I do feel that I am depriving myself, I find that I binge. That's not a balanced way to go about it.''

The 'Machete Kills' star goes on 90-minute walks with friends if she doesn't feel like working up a sweat and also finds ways to stay active with her children.

She said: ''I'm not so much into preaching, more into practicing. I like to swim with them, go on family walks. The kids like it too, they go crazy, bouncing off the walls if I keep them inside. They'll throw balls around, and I'm going, 'You can't throw balls in the house! That's our lamp!' ''