Help please

I passed this in the toilet today, and it has happened to me in the past. Any idea what this could be?