What causes burning after sex?

I’ve only had this problem with my current boyfriend. Even if I’m super turned on and wet I’ll have this burning sensation after we fuck. I’ve been to my gynecologist and she gave me steroid cream