As fractal_man said it will be happy enough being left alone while it becomes used to it's new environment.Never feed your python wild trapped/caught rodents as these may have diseases or parasites that could potentially harm or kill your python. You will know he is hungry when he has had a good long bask and starts to "search" for food, defrost an appropriately sized prey-item like a mouse or small rat (This can be done by placing the rodent into a plastic bag and submersing it into warm water for a few hours until it is warm and completely defrosted, never feed cold or partially thawed food to your reptiles) and then use tongs to introduce the food to the enclosure. If the python is hungry it will strike and constrict the food and you will be able to leave it for a few days while it digests the meal. If it doesn't eat try again in a day or two with a new prey item until it takes the food, you may need to "wiggle" the food to make the snake think it is still alive. From there he will happily feed once a week on appropriately sized food items. A good way to judge size of food is with the girth of your snake at the stomach, the food should be just a little bigger and your python should develop a bulge in it's mid section while digesting food. Watch it feed the first few times to make sure that it can swallow the food and if it has trouble try feeding it two smaller items in place of the larger. While digesting you will need to avoid handling your python as any disturbances can cause him to regurgitate the meal which is both bad for the reptile and not a pretty mess for you to clean up.You can look on line for the correct temperatures for your coastal to make sure that he is able to bask sufficiently, also get yourself a thermostat if you don't have one already and monitor the temperatures at the basking site to make sure that your coastal is getting enough heat.If he was just given to you I would also suggest taking him to a reptile vet to check up on him when he calms down, you can move him in a sterile click-clack or tub which can be sealed or you can use a clean snake bag. I strongly suggest getting yourself a book, something light and species specific that will give you the absolute basics about keeping your new snake would be ideal for a first read and then diving straight into something more detailed.A cheap and informal book that will give you the basics you will need for your coastal is Keeping Carpet Pythons by Simon Kortlang and Darren Green. It is not a "bible" or an encyclopedia on the animals but it tells you what they eat, how to properly set up their enclosure and what temperatures they are happiest in. It takes about an hour to read if you skip the breeding section and also gives you vital insight into recognizing any symptoms for illness.Get learning!
They are easy to look after but they are so different to other pets that it will take some getting used to, find a vet and a good book and you will be settled and happy with your new friend in no time