Once you've had sex, there's no way to "restore" your virginity!!
Actually what takes your virginity is the breaking of the hymen and yeah they can restore that too.
It's a cruel world girls. Once your raped there goes your virginity. You'll never be the same (no pun intended) so never go anywhere that's not in public with the opposite sex and always stay in lit areas with people around.
Your boyfriend can rape you, so BE CAREFUL.