Online or Live? Or a general game of chess? To answer the latter: Learn the opening principles. Start with a centre pawn. If your opponent doesn't prevent it in any way, move the other centre pawn too. Develop your minor pieces, preferably knights before bishops. Castle early, preferably on the kingside. Don't hang pieces. Learn some basic tactics. You should be fine.
Good Luck!
any ideas welcome