There is no pre-requisite for virginity for those ordained:
- priests, or
So, men that have been married earlier in life can become ordained plus most deacons are currently married. There is however the vow to celibacy in the Roman Catholic priesthood (which means once one is ordained they cannot marry, however, for deacons if they are already married, it only applies when their spouse is deceased).
In the Orthodox churches married men may be ordained to the priesthood and sometimes Protestant clergy who convert to Catholicism are already married so they have the privilege that belongs to the eastern rites in their married status.
So to sum up, once ordained, no more getting married. Marriage must precede ordination.
That is pretty much the universal rule for both Catholic and Orthodox Churches.