Potty training question

My son is 2.5 and I’m trying to teach him, I feel like he understands, he has gone many times and I praise him for it. But usually I’ll put him on the potty to try and minutes later he will pee on the floor. So do I keep trying or is he just not ready yet?