Virginity and masturbation

How do I finger for the first time without it hurting, I'm afraid to put my fingers in me, what should I do? I want to finger myself before I have sex so I can be more comfortable and figure out what I like and maybe my first time will hurt a little less. Will first time sex hurt less if I've fingered before?