Your child is two and along with the tantrums and moodiness that accompanies this stage, now you also have to worry about things like toilet training.
Timing is the most important aspect of toilet training.
As a parent, you have to first make the decision that your child is ready. Only when a child is prepared to take on this developmental milestone should you work with him to that end. Stressful events may interfere with your child's ability to master this task. To the extent possible, wait until the stressful situation has subsided. Experts vary in the amount of time one should wait after a child has gone through a period of stress.