If your dog drinks your pee, nothing will happen to the dog.
Human urine is pretty sterile at least for awhile after it leaves the body.
As long as you haven't eaten something that could harm the dog that could be excreted through your urine the urine is safe for the dog to drink.
Regular urine is harmless to dogs, and in fact you could actually drink your own urine yourself although it seems gross.
Human urine is sterile and does not pose any significant health risk to dogs who drink it.
Although if a dog drinks the urine and toilet water with other chemicals the chemicals in the toilet water could make the dog sick.
Dogs sometimes will drink human urine for attention seeking, association, thirst or even certain medical conditions.
Certain medical conditions in dogs such as diabetes or urinary tract infections can alter the smell or taste of urine and make it more appealing to dogs.
If your dog is very thirsty they may drink anything that is available for them to drink including urine.
A dog may also associated the location they are drinking the urine with the behavior.
And some dogs will drink urine to get a reaction from their owners, whether it's positive or negative.
Make sure that you provide plenty of water to your dog and ensure the dog has access to clean water at all times.
If the dog starts to drink out of the toilet redirect them to some water and keep the door to the bathroom closed so they cannot get to the toilet.