The Affordable Care Act (ACA) used to impose a fine to penalize individuals who didn’t maintain qualifying health coverage, but that penalty ended after the 2018 plan year. Beginning in 2019, the federal penalty was reduced to $0, and there is no longer a federal tax penalty for not having ACA-compliant health coverage.
However, some states have their own health coverage requirements. If you live in a state with coverage requirements and you don't have qualifying health coverage (and don't qualify for an exemption), you may be charged a fee when you file your state taxes.
Check with a qualified tax professional to determine whether your state imposes a fee for not having health coverage.