A bad odour from your compost pile indicates that it’s too wet or lacks sufficient oxygen. Add dry brown materials and turn the pile to rectify the issue.