Discharge

I’ve had brown discharge today and stomach ache , I’m on birth control too ??? What can it be