When can you have sex again?

When is it too early to start having sex again? A nurse told me to wait a week after it happened, it’s been a week and a day and I started having sex again but idk if it’s ok to do or not.