3 year old and constipation

Brittany • 30•TTC #2•

My poor baby is having trouble pooping. We are always almost done potty training. He keeps saying his poop is coming and cries like it hurts. Gave him a warm bath to help since he won’t go. He is a very picky eater as well. What else can I do for home remedies.