Sex after period

Can I have sex one day after my period ends?

When I went to the toilet there was brown discharge and I’m scared that if I have sex I’ll bleed a bit