Help! My baby is 4 months old.

She has a pen that is used during the day when no one is home and crated at night. She was doing great on the wee wee pads. The last two weeks is is peeing and pooping all lover when ever she is free.

What do I do??????