Ending of first trimester

Amber
I'm so confused on when the first trimester actually ends is it at 12 weeks or 13 weeks can anybody tell me