From the US Center for Disease Control
Hepatitis A usually spreads when a person unknowingly ingests the virus from objects, food, or drinks contaminated by small, undetected amounts of stool from an infected person. Hepatitis A can also spread from close personal contact with an infected person such as through sex or caring for someone who is ill.
Hepatitis B is spread when blood, semen, or other body fluid infected with the Hepatitis B virus enters the body of a person who is not infected. People can become infected with the virus during activities such as: Birth (spread from an infected mother to her baby during birth) Sex with an infected partner.
If you are asking about the hep C antibody test that test is good at 12 weeks post exposure. If you have a compromised immune system for example if you have AIDS then if may take as long as 6 months for enough antibodies to develop.
But for those with normal immune response 12 weeks is most probably adequate.
You could save yourself future worries by always using barrier protection when having relations outside the confines of a long term monogamous relationship.
For other forms of hepatitis try your question in those forums or better yet ask your doctor.
There are no doctors here this is a support community for those living with Hepatitis C, it’s treatment and aftermath of long term infection. Primarily this is a support community for patients.
Best of luck to you.