It depends on the airport. Larger airports with significant commercial air traffic charge various fees, including landing fees, parking fees, etc. There are plenty of smaller airports that charge nothing to land and park for a few hours or even overnight.