I'm attending university of medicine by staying at the hostel. I think that my roommate had hepatitis B or c virus. How should I do to protect myself?

Viral Hepatitis. The Hepatitis B vaccine is a three shot series that you can take to protect yourself. Hepatitis C is thought to be spread by the direct contact of blood from the infected person. Avoid sharing razors, toothbrushes, sex with the affected person. Several Hepatitis C vaccines are in development but problems with development have vexed researchers. Visit http://www.cdc.gov/hepatitis/ Good luck!