Confused period

kat

Okay so I’m confused. I’ve been having safe sex except one time this month and he pulled out. So I got a plan b just to be safe. Then I got sick and took medication. So I’ve been bleeding brown and dark red but there’s been like gritty stuff like coffee grounds.