There's an online myth which circulates every few months about someone getting HIV from eating fruit. Sometimes the fruit has been injected with blood, sometimes the vendor selling the fruit has HIV and has cut themself… whatever the back-story, it's a myth. You can't get HIV from eating fruit with blood on or in it.
If you think you may have put yourself at risk of HIV then you should begin taking PEP (emergency HIV treatment) within 72 hours (3 days). You'll need to speak to a healthcare professional to be prescribed PEP.
Many people living with HIV can achieve an undetectable viral load by adhering to antiretroviral treatment over a period of at least six months. Evidence has shown that as long as you continue to have your viral load monitored by a health professional to confirm that you are undetectable, then there is zero risk of you transmitting HIV to others and your health will not be affected by HIV.