Usually when a persons poop starts sticking to the toilet bowl it's caused by an over oily stool which means you have too much oil in your stools.
The oil in your stools or poop means that your body is not absorbing the fat properly from foods you eat so it would be a good idea to have a checkup from the doctor and let them know that your poop is sticking to the toilet bowl.
You can try coating the toilet bowl with some WD-40 which will help the poop slide off the toilet bowl much better and keep it from sticking to the toilet bowl.
If the poop still sticks some to the toilet bowl you'll just need to clean the toilet bowl after pooping in it to remove the stuck poop.