Period question!

Does it mean anything if blood from your period comes out when you're going to the bathroom? Is there anything bad about it or does it just happen? 😁