Neither of those are mistakes necessarily. They aren't the best moves, but they're at best inaccuracy (to use the lichess vernacular)
As Sarg0n said, you need to look at the position and and figure out what weakness they are showing, or why that's not a good move. (Early queen development presents a valuable vulnerable piece for instance.)
As Sarg0n said, you need to look at the position and and figure out what weakness they are showing, or why that's not a good move. (Early queen development presents a valuable vulnerable piece for instance.)