It depends. It can be free if you do it yourself using a good template. It can cost under $100USD (on average) if you use a high-quality Terms and Conditions generator. Using a lawyer can cost a few hundred USD to a few thousand dollars.