Well, first thing you have to do is get your 'routine' working in a polled setup. Just have your program loop and test a condition. If the condition is valid, then execute your routine. A lot of this involves as a preliminary looking at the hardware and deciding what you want to do. If you are using a 'port pin' type setup, like one line of a port generating an interrupt, then you need to go put that into your code.
For example, test a pin. If in an 'idle' state, don't do anything. If in your 'interrupt' state, then do your special routine you wrote.
Once that's working, then look at the hardware reference and figure out the 'vector' for a pin interrupt for the pin. (You DID make sure you picked a pin that supports an interrupt, right?)
Ok, take the 'test' out of your main loop.
You have the address of your interrupt service routine in the vector table, right?
Now, in your 'init' code' you have to set up the port to enable the interrupt. This will usually involve multiple registers. For example, you may have to set the interrupt for 'high going' sensing. Or low going sensing. Then you have to turn the whole port on, and make sure it's 'masked' correctly. AND make sure interrupts are enabled!
In a lot of 'pin' type setups, you may want to also detect 'bounce' on the pin. But that depends on how you write your routine. If you use a mechanical switch, you could have thousands of interrupts.
Oh, one other thing... there's always the case you could miss it. What? Miss an interrupt? Well, consider that an interrupt is an event trigger, not a continuous state. For example, you have a port configured to use a pin for an active low interrupt. So you get the interrupt. But which pin was it? The interrupt may be saying something much more than a single pin interrupted. It might be indicating that 'some pin on port X generated an interrupt' but you don't know which one until you go in and figure it out. In a simple system, you may not care and just make a safe assumption that if you got the interrupt you got the pin. But what if you are using more than one pin? Get the interrupt, now what? Which pin? So you read the port. But with switchbounce you could be reading the bounce state, so from that point of view there isn't an interrupt!
It's not always so simple. But, just to get going you shouldn't have to worry about those kinds of issues.