This weekend when making a built in cabinet, I accidentally got some wood stain on my painted drywall. (Yes, I know I should've taped...). Now, I have to touch up the wall. However from what I have read online, there isn't a sure fire way to make it work. I was wondering if anyone here knew how.

Here is the situation:

* Wall is painted with a latex based paint.
* Stain is Varathane Classic penetrating wood stain

My goal is to be able to touch up the wall, and not damage the wood. They are butted right up to each other (roughly 1/16" space).Is there a better primer that works for this kind of thing? Or would sanding it be the better option? I have not tried anything as of yet, as this was last night...and I will resume working on the project today after work. So we have a clean slate to work with.