In short:
Burglary: Entering a building intending to commit a crime.
Robbery: Stealing/attempting to steal from someone by force (or threatening force).
Theft: The actual stealing of stuff.