Divorce and custody of unborn child

I got khula divorce from an Indian sharia court in March 2017. My exhusband and his relatives were granted access to meet my now 15 month old son and 3 relatives can meet him in exhusbands absence too. Is all this fair? My son cries a lot and gets scared of them and doesnt go to them. He also stops eating and drinking. Another thing is i stayed separately from my husband since 3rd month of pregnancy because of bad treatment from mother in law and husband. My question is, how can I stop their visitations?