If you had unprotected sex after rubbing, it's important to be aware of the risks associated with this. Unprotected sex can lead to unintended pregnancies and sexually transmitted infections (STIs). It is also possible for fluids from one partner to enter into the other person’s body, so even if there isn’t direct contact, STIs may still be a risk. If you are concerned about any of these issues, it is best to discuss them with your healthcare provider and get tested for STIs. Additionally, using a form of contraception like condoms or dental dams could help reduce the risk of transmitting an infection or becoming pregnant as a result of unprotected sex.