Firstly what is the reason for check up, you can consult doctor and get yourself treated for the cause of symptoms.
Secondly it depends on the covid situation in your city, availability of non covid hospital, time of exposure to viral load.
Genrally hospital environment is highly contagious.
Next Steps
consult doctor so he can diagnose and treat you as per your condition.
Health Tips
I would advice you to avoid getting yourself tested by visiting a hospital unless and until it's an emergency.