2 businesses

If I made $8,000 from one self-employed business & lost $9,000 in another distinct self-employed business. Can I contribute to an IRA for the profitable business? Thank you.