Choosing between perdona and perdone
The ending changes according to how you address the listener. Perdona goes with tú, while perdone goes with usted. You might use the former with someone you have been chatting to at a bar and the latter in a more formal exchange. If you are unsure which form fits, a simple perdón avoids the choice entirely and works well when acknowledging an accidental interruption.
Apologies beyond Castilian Spanish
In Catalan, perdó is useful for a quick apology and em sap greu expresses regret. In Galicia, síntoo conveys that you are sorry, while Basque barkatu is useful when asking to be forgiven. These are separate languages, not different pronunciations of Spanish. In multilingual settings, pay attention to which language the conversation is taking place in instead of assuming that everyone prefers the regional language.
When a quick pardon is not enough
Imagine that you have agreed to meet a friend for dinner but arrive much later than planned. A fuller apology such as lo siento mucho can be followed by a brief explanation. If you have caused a practical problem, offer a solution as well. Spanish speakers can use lo siento to sympathise with someone, too, so the surrounding words help distinguish an admission of fault from a kind reaction to bad news.