How long is cramping suppose to last?

Veronica
Im barely 4 weeks i found out friday i was pregnant & the cramping earlier that week I thought was my AF, its random cramps that last a few seconds. I know its normal but Im just curious as to how long should I expect it to last; 2 weeks usually? 1st trimester?