A quick apology in a crowded public space
On a subway platform, in a supermarket aisle or at a busy airport, a short 'Sorry' or 'Excuse me' is enough for many small accidents. If you have actually knocked something out of somebody's hand, add an offer to help pick it up. A longer explanation is not necessary for every minor encounter. The important distinction is whether you are acknowledging an intrusion or trying to repair a problem.
From my bad to a more considered apology
My bad is a conversational admission of a minor error, not a suitable default for a serious incident. If you give a friend the wrong meeting address, it may fit the situation. When a booking error has cost somebody time or money, say what went wrong and offer a remedy. In formal correspondence, the American spelling I apologize is a natural option for a deliberate apology.
Choosing a Spanish apology in a bilingual conversation
In a Spanish-speaking conversation, perdón is a handy choice for an accidental interruption. Lo siento can express regret after a more significant mistake, and it also works when somebody tells you upsetting news. If you are not sure how well someone knows you, disculpe is a useful respectful form. These expressions are not tied to one particular accent or community; pronunciation and forms of address can vary.