Is it safe to take aspirin while you are pregnant?

Pregnant and aspirin: a pregnant woman drinking a glass of water with a pack of pills on the kitchen counter