Bleeding after masturbating

This morning I masturbated by clitoral stimulation and afterwards I went to the toilet and there was quite a bit of blood, my period did end a few days ago so I have no idea if that has something to do with it?