I started a business but did not get a 1099. Can I still write off the expenses for my business that I did get a 1099 for?

Filing as a Rideshare driver, but I accrued expenses as a realtor. Am not filing the 1099 as a realtor.