what kind of pain pill and how many a day and for how long?
you can do a google seach with the words "how long does vicodin (or whatever) stay in system" I found a lot of info that way. I believe it depends on how much youve taken but a safe guess would be 4-7 days.
I was told it would be in your system up to a week.