some advice (not pregnancy related)

I have been trying to potty train my daughter and she just won't go on the toilet she will pee or poop in her pants then go sit on the toilet.. I have potty trained my other two but my 3rd is just not getting it.  anyone have any ideas.?