Please seek legal help from ana ttorney as soon as you can.  I am fearful that the contract of sale made it a requirement that you join the HOA.  If the HOA is optional then you may also have had to "opt out" with in a certain time frame.  Generally speaking, HOA's are legal entities and joining them is usually mandatory for property owners on a development.  Good luck.