Q.how to prepare soil mixture for cactus?
Soil mix for golden barrel cactus.

Thanks.

Yes. Everyone has their own 'recipe' for potting soil. If you talk to 10 growers, professional or amateur, you'll get at least 10 different recipes. You just need to get used to using one that works for you.

can i use the same mixture for replanting?

I use a commercial potting soil, containing peat moss, perlite, and finely ground pine bark. I add extra perlite. I've used this for almost 40 years when potting cactus and succulents, and I find it works great. Most cactus and succulents aren't super picky about soil as long as it drains really well.