help! potty training

my son refuses to be potty trained what should I do he is turning 2 soon. he will hold his pee and poo until I give up and put back his diaper on.