I play chess sometimes. I don't know any chess strategy. I just know the direction of each piece. How can I know my rating?
There isn't one rating. Each site or chess federation would rate you differently. Even if two different organizations use the exact same rating system, the separate pools of players make the numbers incomparable. You can find your rating for a certain organization by playing enough games for the statistics to become meaningful.
What's this about statistics? Ratings are approximations of our playing strength. Rating systems are based upon opponents' ratings and use statistics to predict the outcome of games. The results of games are used to adjust ratings. The more we play, the more accurate the ratings become.
I don't know where you're located, but in the USA, you'd likely be rated about 800. An average club player is about 1500. The 700 point difference would mean you'd have virtually no chance of defeating someone who had a poor chance of defeating that average player.
your rating is 100 but only because they dont go lower
start reading some books to improve
play over grandmaster games to get a feel for what good moves look like in an opening
work through tactical problem collections to learn to recognise patterns of winning moves
to get a provisional rating play in rated events
to get an established rating play in lots of events