Cramps

I’m about 4-5 weeks pregnant. Yesterday I had painful cramps that lasted all day. No blood or tissue.

Trying to figure out if it was a miscarriage or implantation. Any thoughts?