Can ibuprofen stop a prolonged period bleeding??

Ky 8-15-17👼🏼 & 10-28-17👼🏼 Pregnant with my🌈💕
I'm on my period and it's longer than usual. Yesterday I took 4 ibuprofen yesterday and 4 this morning and now it's really light. Has ibuprofen helped to stop anyone's else's prolonged period before??