Period...

What do you do if you're on your period while at someone's house and need to change your tampon or pad? Do you put it in their trash? Is that rude or nasty?