Configuration of Modem connected to serial port ttyS0

Please help to connect the GSM modem though COM port. Also to issue AT commands to the modem.