Each time you dislike a post, the number of likes decreases. If the user whose post you accidentally liked tracks engagements for analytics, the number of likes will be reduced when you "unlike" their post.