It is prior to marriage, even if it's not wrong or Sin nature, but is rather dangerous activities.
And it is not safe, but in the current era, there is a greater risk factor both sides. Sexually transmitted diseases, unwanted pregnancy and many different factors.