Using the stove and oven adds heat to your house, so when the weather is hot, find ways to avoid using them so that your air conditioner does not have to work overtime, adding to your summer energy use. Plan to eat salads and sandwiches or other dishes that do not require cooking. Do your cooking on the grill so that all of the heat produced is outside of the house. Another option is to use smaller appliances such as the toaster oven, slow-cooker, or microwave, which all produce much less heat and use less energy.
For more details, check out this article in Consumer Reports:
Mary H.J. Farrell, July 9, 2021. Cooking tips for hot weather: How to keep your cool in the kitchen this summer. Consumerreports.org.