Period question

Does having sex for the first change your period ?