Can I use a cup or tampon

Lately I’ve been bleeding after sex, I just started my period is it safe to use a diva cup or tampon