If your SEP IRA is held at a financial institution and the funds invested, they will send you a 1099-R which should have all the relevant information stated therein. They keep track of that information for you.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"