Anal?

I'm thinking about doing anal because my boyfriend really wants to try it but i want to be prepared before I actually try it and make a fool out of myself!! I know you're supposed to use lube but does it go on him or in me?