Perdóname? Discúlcapme?

How should I say ‘excuse me’ in the instance of walking by someone or needing to get through. What about ‘excuse me’ as way to get their attention that you have something to say to them. That’s ‘perdón’ right? TIA!