Irregular periods

Hi I came on my period today it started bright red clot but light as the day went it got heavy and I got brown discharge and bad pain. I have had irregular periods for about 3months . Any advice please