Hi Miley,
It could mean a number of things, it depends on the context. Sometimes it means broken
" I busted my car this week".
(not very common nowadays)
Sometimes it means the police caught you doing something wrong
For example " He got busted for smoking drugs yesterday".
In your context it sounds like he meant you caught him doing something wrong.