You can contribute to a Roth IRA if you have taxable compensation and your modified adjusted gross income is within certain limitations.
Being self-employed you must have net income to be eligible to contribute to an IRA. If your self-employment expenses exceed your self-employed income then you do not have net income.