Getting tested

What happens when you go to get tested, like what type things does Doctor do or ask. Wanting to know for males and females