We did not file a Preliminary notice and now may need to file a lien. This would be commercial and I'm not sure if we are a subcontractor or GC
First, your role on the job will be determined by the party who hired you. If you were hired directly by the property owner, then you'll generally be considered a "direct" or "general" contractor. If you were hired by someone other than the owner, then "subcontractor" is likely more appropriate.
Regarding notices - that will depend on your role. If you're considered a general contractor for the job, and if it's a commercial project, then preliminary notice is generally not required.
If you are considered a subcontractor on the job, then there will be some notice requirements. Without sending the proper notice to preserve lien rights, a valid and enforceable mechanics lien cannot be filed. Namely, a retainage notice and monthly notices will be required (though, if retainage amounts are included in the monthly notice(s), then the separate retainage notice won't be necessary). For more discussion on those notice requirements: Texas Monthly Notices Rules & FAQs.
Note also that if there was some monthly notice requirement, and if some notices were required but not sent, it may still be possible to send notices to partially protect some of the past months of the project. That's true even if some months weren't properly noticed.