I cannot help much, but here is some info:
info in english -> https://spb.hse.ru/en/io/immigration/;
registration must be performed within 7 days, with a few exceptions for citizens of some ex-USSR countries;
if you have been staying at a hotel, it must have registered you for the period of your stay, so you have some extra time;
in case of violation of the ...