Using RFID Reader and GPRS Shield

I'm doing a project involving using an RFID reader to scan tags, and after a certain amount of time, using a GPRS shield to send a text to a phone. I can get each to work individually, but I'm having trouble writing a code that will incorporate each component to work together. I'd really like some advice on how to go about doing it. Thanks.