If it's natural pregnancy without any support and High risk factors it will not affect that much but you hv to take precautions further
Next Steps
Take uterine relaxant drugs from your obstetrician. do Ultrasound for cervical length and internal os , placenta condition and foetal wellbeing.
Health Tips
Mostly intercourse not affects pregnancy outcome in natural and non High risk patient