Boyf and virginities

So me and my first boyfriend broke up then i started talking to this kid and he took my virginity and just left after and then i started talking to this kid after ( months after ) and he became my boyfriend and he was an asshole he wouldnt speak to menin school he would just walk past by me and then i was tired of that and he wouldnt talk to me for a week once for no reason and then  we are now been broken up for a month and me and my ex are friends like usual but hes flirty  but what if he asks me who i lost my virginity to i cant lie and he hates me after what do i do? Helppp