If you don't want freshly bought aubergines to spoil right away, that's when you buy them. but also with the subsequent storage, some things to consider.

How to store aubergines correctly
Tip 1 - pay attention to quality when shopping:
As with any fruit and vegetable, when shopping for aubergines, you need to look at the outside. A good, ripe aubergine is characterized by a firm, matte skin that yields little or not at all to pressure. Too soft aubergines with spots on the skin are on the verge of rotting and should not end up in the shopping basket.
Also, don't necessarily buy the biggest aubergines. It is better to take the smaller ones, as these are often much more intense and aromatic than the large ones.
Tip 2 - store cool, but not cold:
Aubergines love warmth and do better at room temperature or slightly cooler than in the fridge. In an emergency, they should be stored here for a maximum of one day. Better is a place in a cool basement.
Tip 3 - Store aubergines separately:
Also, aubergines don't like neighbors because they are sensitive to the ethylene gas that emits, for example, apples and tomatoes when they ripen. Eggplants spoil faster when exposed to this gas. It is therefore important that you store the aubergines separately from other vegetables and fruits. This is how they keep for a good week. Cut aubergines, on the other hand, are best processed within 2 to 3 days. For example with aubergine lasagne, aubergine pesto or aubergine crisps.