Having intercourse

I found out I’m pregnant this past week, test is positive and I had intercourse today. Is that okay to do?