How tf do I get my 3 year old to stop screaming for things she wants while also validating her feelings?

My daughter literally cries for everything she wants now a days I’ve been telling her that she can’t scream and cry to get things she wants, but I want to start putting her in time out when she does, but I feel like it would be invalidating her feelings? Help