Most versions of Windows come with basic fax software, and most modems do too (if your modem came with diskettes or a CD, take a look).
For advanced faxing, you'd have to buy a program like Symantec's WinFax, which has been around for ages. You might find a closeout of an older version of it for cheap at some "outlet" vendor.