That's why you run a proper cycle - to avoid negative side effects as much as possible. If you run hCG you won't have testicular shrinkage, and if you run an AI and keep estrogen under control you won't likely have ED issues with just test - likely just the opposite. Unless also running a compound that can raise prolactin like deca or tren, which is also easily avoidable by adding caber.
This is why it's important to know the ins and outs of all the anabolic compounds you're using, what ancillaries to take with them, and how to do everything properly BEFORE you start a cycle.
If you run into side effects the best thing for you is to already be educated on what side effects are likely to happen, what is the likely cause, and have something on hand to combat it. Also get blood work done before, during, and after your cycle so you can have a better picture of what's going on in your body.
Take hCG from day one, take an AI from day one, run a proper PCT and you should be fine. There is never a guarantee you will make a full recovery afterward, but you can do a lot to set yourself up for success. The biggest part of that is to educate yourself.