Bladder infection

Can I masterbate with a bladder infection and on my period