The only way you can lose your virginity is by having sex. Dildos, masturbation, or any foreplay cannot cause you to lose your virginity. Penis in vagina penetration is the only way you can lose your virginity.