Refeeds are an amazing tool but can be a bit complex so they tend to be overlooked in my opinion.
Keeping it simple, the most optimal refeeds come after a depleting, but not damaging workout. (Think volume, not max load.) You want greatly reduce fat intake and keep protein intake higher, especially Whey. Your sources of carbs should come from high glycemic foods, but preferably glucose/dextrose based within the first hours. (Gatorade, hard candy) Try to avoid fruit, fructose, and taper onto starches sparingly. Calories/macros are harder to recommend, but there is information out there showing negative fat gain even after 700g of carbs a day from a full body depleting workout.
You really need to know what your goals are to determine how to best use refeeds or carb loads. Are you going for size, strength, endurance? Are you trying to supercompensate, increase capacity, or reset hormones? Best advice from personal experience is to plan them out so you don't just end up eating a pizza and calling it a day. (Which you CAN do, but have have to plan it.)