Checking your credit score or getting your credit report does not affect your credit score in any way. You can get your credit report from credit bureaus once in a year for free.
The credit score might get affected only when banks do a hard check on your credit report while you apply for a loan. Multiple hard checks could harm your score, but not in a big way.