Spotting

I randomly spotted for like an hour or two the other day. Anyone have any idea what could have caused it? Me and my fiancé had sex after it started so it couldn’t have been that. But when I try to google it it either says pregnant or a disease and I’m on birth control.