Sex after colposcopy?

I had a colposcopy on Monday. It’s been a total of 5 days and I haven’t had much bleeding and the discharge stopped. Everything seems to be bs k to normal. Is it safe to have sex? What are the risks? My doctor said two weeks no swimming or sex but I feel like everything is back to normal already. Advice please!