Toddler headbutts baby

My two year old just head butted my 5month old while playing on the floor, the baby cried for a few seconds but after picking him up he seems okay.. I shouldn’t worry right I always panic and my anxiety shoots up im trying not to do that? My two year old is fine too! Back to running around like a crazy man!