Masturbate?

How can a virgin masturbate without sticking anything up there? I tried rubbing the top of my vagina in a circle and humping a pillow. I don't know what to do.